Skip to content

Commit

Permalink
fix: 🐛 Updated IgnorePointer from AbsorbPointer to send HitTest t…
Browse files Browse the repository at this point in the history
…o targeted widget (#412)

- Updated `IgnorePointer` from `AbsorbPointer` to send HitTest to targeted widget as `AbsorbPointer` cancel all type of user interaction and `IgnorePointer`only cancel it's closest child's interaction( in our case `GestureDetector` used on child) and passes it to below widget(in our case target widget)
  • Loading branch information
Sahil-Simform authored Mar 8, 2024
1 parent 42daa48 commit c36c85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/showcase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ class _TargetWidget extends StatelessWidget {
top: offset.dy,
left: offset.dx,
child: disableDefaultChildGestures
? AbsorbPointer(
? IgnorePointer(
child: targetWidgetContent(),
)
: targetWidgetContent(),
Expand Down

0 comments on commit c36c85a

Please sign in to comment.