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
When you specify a focal point on the edge (border) of a scaled image, then reduce the image to MinScale, the image shifts. The shift occurs at the moment of the last scaling, i.e. when Scale becomes MinScale. Once the image is enlarged, it remains shifted.
Your environment
Version of panzoom - 4.5.1
Browser and browser version - Chrome 125.0.6422.142
Expected behavior
The image should not shifted.
Actual behavior
The image shifted.
Steps to reproduce
Initialize the object with {contain: 'inside'}
Execute zoomToPoint indicating the coordinates on the edge (border) of the scaled image,
The text was updated successfully, but these errors were encountered:
Describe the bug
When you specify a focal point on the edge (border) of a scaled image, then reduce the image to MinScale, the image shifts. The shift occurs at the moment of the last scaling, i.e. when Scale becomes MinScale. Once the image is enlarged, it remains shifted.
Your environment
Expected behavior
The image should not shifted.
Actual behavior
The image shifted.
Steps to reproduce
The text was updated successfully, but these errors were encountered: