victory icon indicating copy to clipboard operation
victory copied to clipboard

Zoom and Voronoi container crashes without warning.

Open cullenmcmahon opened this issue 7 years ago • 1 comments

Bugs and Questions

Checklist

  • [x] This is not a victory-native specific issue. (Issues that only appear in victory-native should be opened here)

  • [x] I have read through the FAQ and Guides before asking a question

  • [x] I am using the latest version of Victory

  • [x] I've searched open issues to make sure I'm not opening a duplicate issue

The Problem

Running both zoom and voronoi tooltips crashes the tab it's running in if you scroll zoom in and out quickly. In my testing it seemed to be dependent on the data, so maybe it's a voronoi calculation issue. I've also gotten some "Cannot read property '0' of null in clipCells()" errors before the crash which supports that hypothesis.

Reproduction

https://codesandbox.io/s/rw5qz6lq2o this example will crash the tab its operating in if you zoom in and out quickly.

cullenmcmahon avatar Jan 08 '19 02:01 cullenmcmahon

Fun additional wrinkle, looks like there's some OS specificity to this issue, I ran into it on my PC running windows however my friend was unable to replicate it on his mac, both running latest Chrome.

cullenmcmahon avatar Jan 09 '19 00:01 cullenmcmahon