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

Show one context menu at a time #1202

Merged
merged 1 commit into from
Mar 28, 2018
Merged

Show one context menu at a time #1202

merged 1 commit into from
Mar 28, 2018

Conversation

bitpshr
Copy link
Contributor

@bitpshr bitpshr commented Mar 27, 2018

This PR fixes a UX issue where multiple right-click context menus were showing at a given time. contextMenu was updated to return a handle that exposes its hide function, and file-explorer was updated to cache a singleton reference to the last-opened context menu. This handle is used to hide any existing context menu before opening a new one.

Resolves #1092

@yann300 yann300 merged commit b9fd3ad into ethereum:master Mar 28, 2018
@yann300
Copy link
Collaborator

yann300 commented Mar 28, 2018

thanks for this!

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

Successfully merging this pull request may close these issues.

Right clicking in the file manager causes multiple menu containers to open
2 participants