simple-zoom icon indicating copy to clipboard operation
simple-zoom copied to clipboard

Jumping of the content upon the initial pinch zooming

Open SlavomirDurej opened this issue 4 years ago • 0 comments

Hi Daniel, thank you for this amazing extension, really great work! There is just one issue with it and that's the whole image (i.e. Content) jumps considerably when you choose to zoom from a pivot that's on the opposite side of the previous pivot point.

In case you'd like to see what I'm talking about have a quick look at the video demonstrating this issue: https://www.youtube.com/watch?v=irLA1uTkPqM

it's screencaptured using Unity remote, hence slight lag, and also it doesn't show the fingers, so if this is unclear, I can try to do another capture direct on the device.

What it should do (idealy) is start zooming from the new transformation pivot (as defined by newly placed 2 fingers) smoothly from that place, without the initial jerking movement and shifting entire image at the beginning of that gesture.

This is a good example (in JS): https://0.s3.envato.com/files/78471334/index.html

SlavomirDurej avatar Oct 08 '20 15:10 SlavomirDurej