almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

Calling timeline.getItemRange().min in rangechaged handler garbles item ordering on zoom #4174

Open apcarp opened 5 years ago

apcarp commented 5 years ago

Calling the function timeline.getItemRange().min while inside of a rangechanged event handler causes bizarre display of item positioning on zoom. While zoomed, some items that should be off screen appear locked in a single location until the item is brought into view view panning/zooming. Which items are locked like this appears to be random.

I've seen this bug on the following OS/browser combinations:

See jsfiddle - https://jsfiddle.net/apcarp/xpvt214o/905183/