Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gestures for Flyout barrier #983

Closed
bdlukaa opened this issue Dec 7, 2023 · 0 comments
Closed

Gestures for Flyout barrier #983

bdlukaa opened this issue Dec 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bdlukaa
Copy link
Owner

bdlukaa commented Dec 7, 2023

Is your feature request related to a problem? Please describe.
Clicking the right mouse button to reposition the popup context menu is a habit of desktop users. It is currently not possible to detect gestures on the barrier.

Describe the solution you'd like
An interface, or callback, that allows devs to detect gestures on the Flyout barrier. Something like thew following:

controller.showFlyout(
  barrierRecognizer: TapGestureRecognizer()..onTap = () => print('Tapped Flyout barrier'),
  ...,
);

Describe alternatives you've considered
An workaround can be use a Flyout that fills the entire screen and position the barrier and content manually. This takes more time to do, but still work.

Additional context
#975

@bdlukaa bdlukaa added the enhancement New feature or request label Dec 7, 2023
@bdlukaa bdlukaa closed this as completed in daca9b7 Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant