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

Context menus duplication #602

Open
ChrisRaven opened this issue Sep 20, 2022 · 0 comments
Open

Context menus duplication #602

ChrisRaven opened this issue Sep 20, 2022 · 0 comments

Comments

@ChrisRaven
Copy link

Every 2 minutes the site recreates the context menus for all segments. The problem is, that the old menus aren't removed from the DOM tree. When working with a couple of hundred of segments, the number quickly raises to several thousands of DOM nodes, which leads to overall slowness of the site. Refresh helps. (all addons turned off).
To recreate, just add some segments to the website, open the Console, go to the Elements tab and wait. Every two minutes there are new "div.neuroglancer-context-menu.neuroglancer-layer-group-viewer-context-menu" nodes added with all their content, so every 2 minutes, there are 10 x number_of_segments more nodes in the tree.

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

1 participant