You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I,ve been trying to implement this amazing library on my website, and everything seems fine, until I try zoo zoom on the right side of the screen. It will randomly jump the vire or scroll the view instead, on the left side the scrolling works fine. It happens both on desktop, tablet and phone.
@rhuitl No, but I found a workaround that works for me, for now atleast. When wierd behavior happens when I have the bounds enabled and set to anything else than 1. So for for now I just set the bounds to 1, and it seems to be working fine for now.
It doesn't set the scale if it determines that the current view isn't in bounds, but it still applies the translation. In my case it pushes the view to the bottom right of the screen.
Getting rid of the conditional jolts the screen to within the bounds and applies the zoom, not ideal, but perhaps better than the current behavior.
Using the domController if that's relevant.
I,ve been trying to implement this amazing library on my website, and everything seems fine, until I try zoo zoom on the right side of the screen. It will randomly jump the vire or scroll the view instead, on the left side the scrolling works fine. It happens both on desktop, tablet and phone.
Here is a link to it, maybe somebody can find an obvious mistake, that I'm missing.
https://www.worldinwood.se/installation/verdenskort_large/
The text was updated successfully, but these errors were encountered: