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

Node corruption while zooming out #24

Open
e-kud opened this issue Dec 13, 2018 · 1 comment
Open

Node corruption while zooming out #24

e-kud opened this issue Dec 13, 2018 · 1 comment

Comments

@e-kud
Copy link

e-kud commented Dec 13, 2018

I found the following bug that can be observed at the http://evmar.github.io/webtreemap/ page. It irrecoverably deletes nodes while zooming out.

To reproduce we need to make three clicks on the page.

  1. Click on the uglify_js/node_modules square.
    Now we can see CHANGELOG.md, README.md and other files.
  2. Click on the most outer block node_modules (50.0m)
  3. Click again on the uglify_js/node_modules and there are no files that we have seen at the point 1.

I think the problem might be in this loop:

for (; i < children.length; i++) {

@evmar
Copy link
Owner

evmar commented Jan 19, 2019

Thanks for the great bug report! I confirmed it and I will need to figure out a fix now.

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

2 participants