Thumbnail click point of reference breaks after zoom.
menocsk27 opened this issue · 1 comments
menocsk27 commented
Bug report
Expected behaviour
Click should be related to the center or a corner of the thumbnail view box.
Actual behaviour
Click loses reference to the thumbnail view box
Steps to reproduce the behaviour
- Open the thumbnail demo https://bumbu.me/svg-pan-zoom/demo/thumbnailViewer.html
- Click somewhere on the thumbnail, the view box will snap its center to the mouse position (kinda, it already breaks towards the upper left corner)
- Zoom in for more clarity, example:
- Clicking anywhere on the thumbnail shows that the mouse is not aligned to the view box anymore, it snaps to other places.
Configuration
- svg-pan-zoom version:
demo
- Browser(s):
chrome
- Operating system(s):
win10
- A relevant example URL: https://bumbu.me/svg-pan-zoom/demo/thumbnailViewer.html
Minniball commented
I need the feature as well, can someone solve the issue?