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

[docs] Close context menu if repeated #22463

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Sep 3, 2020

Closes #19145

new contextmenu demo

Closer to how native context menus behave in chrome 84 with ubuntu 18.04. It's missing that right click on a contextmenu item acts like a click but I couldn't make it work. Might require more involved work.

Simplified types along the way.

@eps1lon eps1lon added bug 🐛 Something doesn't work docs Improvements or additions to the documentation component: menu This is the name of the generic UI component, not the React module! labels Sep 3, 2020
@eps1lon eps1lon force-pushed the docs/fix-contextmenu branch from 12af6fb to ff998fc Compare September 3, 2020 13:23
@mui-pr-bot
Copy link

Details of bundle changes

Generated by 🚫 dangerJS against ff998fc

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like a better tradeoff

@eps1lon eps1lon merged commit 1a4495b into mui:next Sep 4, 2020
@eps1lon eps1lon deleted the docs/fix-contextmenu branch September 4, 2020 08:16
@TodBob
Copy link

TodBob commented Jan 21, 2021

If this solution looks like merged and is closed, why this problem still exists in official releases?

@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 21, 2021

@TomasKomprs Because it was fixed in v5 (assuming you are still on v4)

@TodBob
Copy link

TodBob commented Jan 21, 2021

@TomasKomprs Because it was fixed in v5 (assuming you are still on v4)

@oliviertassinari Hi, thank you. Yes I'm still on v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: menu This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ContextMenu] Can't right-click on another page element while a menu is open
4 participants