-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Context menu location is wrong #12
Comments
Thank you for reporting - I will fix this in the upcoming 1.0 version ... I will begin working on the contextmenu plugin soon! |
You can take a look at the new contextmenu functions in vakata.js (branch v.1.0). I will see if I can port those to v.pre1.0 |
Hi all, I'm using the last commit of jstree and I get a similar behaviour. Do you have any idea how I can solve this ? |
Hi all, I solve the problem. In my case, it was because the page zoom was >100%. With a 100% zoom it works like a charm. |
How can i change the position of context menu according to my page ? |
Using CSS or JS - if you want CSS - use this selector: .vakata-context { ... } How you decide to move the node is up to you - margins or transform will both work. $(document).on("context_show.vakata", function(e, data) {
data.element.css(...); // data.element is the menu - you can move it here
}); |
Hi,
I have a tree with many nodes so page has scrollbars. If this page is hosted in an iFrame (IE7/8), then scrolling the iframe and right clicking the node shows the context menu way up higher (hidden from view). Is it possible to fix this?
Thanks,
T Singh
The text was updated successfully, but these errors were encountered: