Skip to content

[Flare] add disableContextMenu to Press#15909

Merged
necolas merged 1 commit intofacebook:masterfrom
necolas:react-events/press-context-menu
Jun 18, 2019
Merged

[Flare] add disableContextMenu to Press#15909
necolas merged 1 commit intofacebook:masterfrom
necolas:react-events/press-context-menu

Conversation

@necolas
Copy link
Copy Markdown
Contributor

@necolas necolas commented Jun 18, 2019

Provides a way to entirely disable the native context menu.

@sizebot
Copy link
Copy Markdown

sizebot commented Jun 18, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

@necolas necolas force-pushed the react-events/press-context-menu branch from 53db429 to 1904816 Compare June 18, 2019 02:10
@trueadm
Copy link
Copy Markdown
Contributor

trueadm commented Jun 18, 2019

This would change the previous behavior of preventing the context menu from appearing on a long tap (touch). Is that intended?

@necolas
Copy link
Copy Markdown
Contributor Author

necolas commented Jun 18, 2019

How does it change that behaviour?

@trueadm
Copy link
Copy Markdown
Contributor

trueadm commented Jun 18, 2019

Sorry, ignore me, misread it on my phone!

@necolas necolas merged commit f97b951 into facebook:master Jun 18, 2019
rickhanlonii pushed a commit to rickhanlonii/react that referenced this pull request Jun 25, 2019
@necolas necolas deleted the react-events/press-context-menu branch December 20, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants