-
Notifications
You must be signed in to change notification settings - Fork 980
[ContextMenu] Add "disabled" prop to Context Menu trigger #1746
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
[ContextMenu] Add "disabled" prop to Context Menu trigger #1746
Conversation
fix(contextmenu): allow native context menu to open when the context menu is disabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @paperstick!
fix(contextmenu): clear active long press when the components gets disabled
Would it be possible to add disabled conditions based on PointerDown's type/button? |
@benoitgrelard is there anything that we could do to move this forward? :) |
Hey @Andarist, it seems the original contributor hasn't followed up, so if you want to address the remaining feedback we can move it forward. |
Hi, @Andarist and @benoitgrelard! I have already made needed changes in the following commit. Let me know if we need to add anything else, I will check |
Oh sorry my bad! |
This has now been released as |
Description
This PR adds
disabled
prop to<ContextMenu />
triggerCloses #1745