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

Switch to clear the context menus in document.onselectstart #33

Merged
merged 1 commit into from
Jul 21, 2018

Conversation

ninoseki
Copy link
Owner

  • Before:
    • Clear the context menus before creating context menus in an event which is triggered by document.onselectionchange.
  • After:
    • Clear the context menus in an event which is triggered by document.onselectstart.

It works better than before in my env.

@ninoseki ninoseki merged commit f69fe6f into master Jul 21, 2018
@ninoseki ninoseki deleted the context-menu-improvement branch July 21, 2018 22:30
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.

1 participant