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

feat: make onDismiss optional on Menu #3417

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

lukewalczak
Copy link
Member

Fixes #3404

Summary

PR makes the onDismiss method optional to allow the user to dismiss the Menu component by pressing e.g. the menu item and allowing the user to interact with the background at the same time, without hiding the Menu.

Test plan

Tested manually on device.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@lukewalczak lukewalczak merged commit 5700fe5 into main Oct 18, 2022
@lukewalczak lukewalczak deleted the feat/menu-optional-on-dismiss branch October 18, 2022 20:02
@VityaSchel
Copy link

wow very cool, not only you responded to my issue but made a pr yourself! first time I see this in opensource ❤ though I think it's because you're getting paid for it unlike developers of small libraries

@lukewalczak
Copy link
Member Author

lukewalczak commented Oct 19, 2022

wow very cool, not only you responded to my issue but made a pr yourself! first time I see this in opensource ❤

Thanks!

though I think it's because you're getting paid for it unlike developers of small libraries

Actually, I was given dedicated time to maintain the library so I'm doing it during my working hours or in my free time if have the possibility :)

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

Successfully merging this pull request may close these issues.

How to use Menu component without onDismiss?
2 participants