Skip to content

Conversation

@zebfross
Copy link

@zebfross zebfross commented Aug 2, 2014

I really like this context menu solution, and I wanted to use it for thousands of context menus on a page. When there are that many menus, I discovered a bit of page lag.

Here is a fiddle to demo the lag and the fix: http://jsfiddle.net/zebfross/N2e9x/14/

The fix for page lag was in context.initialize; I changed ".dropdown-context" to ".dropdown-context:visible". The speed of building the menus can be improved substantially by using native DOM manipulation instead of jQuery.

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