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

jQuery second contextMenu don't show properly #293

Closed
germanmartin opened this issue Oct 15, 2015 · 4 comments
Closed

jQuery second contextMenu don't show properly #293

germanmartin opened this issue Oct 15, 2015 · 4 comments
Labels

Comments

@germanmartin
Copy link

Try it: http://jsfiddle.net/oprkvys1/3/

Make right clic in the green square and you will get "Miami Florida"
Make right clic outside (in blue background) and you will get "Irak Afganistan"
Then right make clic in the green square again and you will NOT get "Miami Florida", you will get "Irak Afganistan"

My original issue was closed marked as resolved but it's not. #238

@bbrala
Copy link
Member

bbrala commented Oct 15, 2015

Hi @germanmartin,

I'm sorry i appearantly overlooked the problem when testing. It seems it just repositions. You can fix this by setting the reposition option to false.

http://swisnl.github.io/jQuery-contextMenu/docs.html#reposition

This will rebuild the contextMenu instead of just moving it.

http://jsfiddle.net/oprkvys1/4/

The behaviour is still a bit weird, but this will enable you to use it without a problem.

Original issue #238

@bbrala bbrala added the Feature label Oct 15, 2015
@germanmartin
Copy link
Author

Thank you so much! it works!
reposition:false,

@germanmartin
Copy link
Author

Can you close this issue?
Thanks!!

@bbrala
Copy link
Member

bbrala commented Oct 29, 2015

Glad to hear it! Going to keep it open for now since it is kind of weird behavious that might need to be fixed, there is a PR #251 that might be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants