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

WebSocket connections are closed if context-menu is dismissed #1

Open
MayamaTakeshi opened this issue Aug 10, 2016 · 1 comment
Open

Comments

@MayamaTakeshi
Copy link

Hello, I am seeing a curious thing when using vue-context-menu.
Maybe I am doing something wrong, but when I dismiss the context-menu by clicking outside of it, any WebSocket connections that I have are closed (this doesn't happen if I click on an item in the context-menu).
This repo shows this behavior:
https://github.com/MayamaTakeshi/vue-context-menu-test
If you want to test with it:
npm install
gulp
firefox index.html

@vmaimone
Copy link
Owner

hi there,

it turns out firefox registers a 'click' event and a 'contextmenu' event when right clicking. this was causing some buggy behavior. I've made a new release that seems to fix the issue in your test repo (thank you for providing that, btw).

I am going to leave this issue open for now, as I am still having disconnect issues with webpack dev server in firefox and cannot tell if this is related.

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

No branches or pull requests

2 participants