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

fix positioning of and add vertical scroll to submenu of context menu #2295

Merged
merged 2 commits into from
Feb 8, 2022

Conversation

TrimmingFool
Copy link
Contributor

The submenu of the context menu does not get repositioned correctly.

$("ul.CMenu a.exp").on('hover', function() does not trigger
it should be $("ul.CMenu li a.exp").on('hover', function() but somehow this also does not trigger.
obj.children("li").hover( function() works fine.

Additionally, I added a vertical scrollbar if a submenu gets larger than the screen height.
(the Labels selection submenu can get quite large)

@Novik
Copy link
Owner

Novik commented Feb 8, 2022

This is because on('hover') was deprecated in the current version of jQuery.

@Novik Novik merged commit ace706c into Novik:master Feb 8, 2022
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.

2 participants