-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamwaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
That is due to missing result propagation from result.addWithAxisOffset:
flutter/packages/flutter/lib/src/rendering/sliver_padding.dart
Lines 181 to 194 in 4608a89
| bool hitTestChildren(SliverHitTestResult result, { required double mainAxisPosition, required double crossAxisPosition }) { | |
| if (child != null && child!.geometry!.hitTestExtent > 0.0) { | |
| final SliverPhysicalParentData childParentData = child!.parentData! as SliverPhysicalParentData; | |
| result.addWithAxisOffset( | |
| mainAxisPosition: mainAxisPosition, | |
| crossAxisPosition: crossAxisPosition, | |
| mainAxisOffset: childMainAxisPosition(child!), | |
| crossAxisOffset: childCrossAxisPosition(child!), | |
| paintOffset: childParentData.paintOffset, | |
| hitTest: child!.hitTest, | |
| ); | |
| } | |
| return false; | |
| } |
Metadata
Metadata
Assignees
Labels
frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamwaiting for PR to land (fixed)A fix is in flightA fix is in flight