Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Zooming jumps scroll position

Zooming in or out jumps the map to a different position. This is especially bad when attempting to zoom in at the bottom of the map, and especially when using the mouse-wheel to zoom. When a user zooms in and out with the mouse wheel the zoom should stay centered on the mouse position.  It looks like you have a conflict between scroll position handlers. It's the type of bug that is difficult to solve. If this code was on GitHub I would probably write a PR to fix it.
Sounds like it might be this issue: <a href="https://app.roll20.net/forum/post/8455731/canvas-scrolling-bug-with-likely-cause-in-code" rel="nofollow">https://app.roll20.net/forum/post/8455731/canvas-scrolling-bug-with-likely-cause-in-code</a> that has been reported to Roll20.