You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When tapping inside the box, I want the child to catch the onTap event. In my case I show the box over a camera feed which supports onTaps to focus the camera on that point. If I tap inside the box, the underlying camera feed should catch that event.
Describe the solution you'd like
Either add shouldCaptureTapEvents parameter. True by default.
include tapDetails in the onTap callback of TransformableBox.
Describe alternatives you've considered
Maybe there's a solution around this? I tried wrapping the Transformable box in a GestureDetector, but it throws an exception as it excepts to be a direct ancestor of a stack. Moving the detector to the TransformableBox's doesn't work either, as it seems the box catches the tap events.
The text was updated successfully, but these errors were encountered:
AndersKlint
changed the title
Feature Request: Enable onTap Event Propagation to Child Widgets (flutter widget)
Feature Request: Enable onTap Event Propagation to Child Widgets
Mar 21, 2025
AndersKlint
changed the title
Feature Request: Enable onTap Event Propagation to Child Widgets
Feature Request: TransformableBox should enable onTap Event Propagation to Child Widgets
Mar 21, 2025
Is your feature request related to a problem? Please describe.
When tapping inside the box, I want the child to catch the onTap event. In my case I show the box over a camera feed which supports onTaps to focus the camera on that point. If I tap inside the box, the underlying camera feed should catch that event.
Describe the solution you'd like
Describe alternatives you've considered
Maybe there's a solution around this? I tried wrapping the Transformable box in a GestureDetector, but it throws an exception as it excepts to be a direct ancestor of a stack. Moving the detector to the TransformableBox's doesn't work either, as it seems the box catches the tap events.
The text was updated successfully, but these errors were encountered: