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

Close Flyout after click CommandBarButton #1149

Open
MuZhou233 opened this issue Nov 30, 2024 · 0 comments
Open

Close Flyout after click CommandBarButton #1149

MuZhou233 opened this issue Nov 30, 2024 · 0 comments

Comments

@MuZhou233
Copy link

Is your feature request related to a problem? Please describe.
I'm using the secondaryItems in CommandBar, it pops up a flyout menu, but I can't find a way to close the flyout after click item. There is an example to close flyout by using Flyout.of(context).close. But not suitable for commandbar.

Describe the solution you'd like
Add an option to CommandBar that close flyout after click.

Describe alternatives you've considered
Navigator.pop(context) works, but not a good solution because of dynamic overflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant