flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
164.54k stars 27.13k forks source link

Cupertino ContextMenu improved onTap support #81057

Open cpboyd opened 3 years ago

cpboyd commented 3 years ago

Use case

Many of the native iOS apps that support the CupertinoContextMenu use it on items that already have an existing onTap implementation.

Proposal

Currently, CupertinoContextMenu can trigger while also triggering onTap of the child element (depending on the exact duration of the tap) so it'd be nice to rework this such that a single GestureDetector is controlling both.

umbrellait-andrey-sosnovyy commented 2 years ago

same issue https://github.com/flutter/flutter/issues/70716

thipokch commented 1 year ago

@cpboyd Did you come up with any workaround? I calling a package with a native iOS implementation, but it's very complicated.