react-spring-lightbox
react-spring-lightbox copied to clipboard
Pinch zoom on iPad causes final image position to jump
I just discovered this library and used the demo and noticed that the content sometimes is moved after the pinch zoom gesture has ended.
I created a video recording of this:
https://drive.google.com/file/d/1Y_S7kQX2d7BnPr5xaLNIXXdhybB8qMEu/view?usp=sharing
This is the same behavior I reported over here: https://github.com/react-spring/react-use-gesture/issues/180#issuecomment-640252068
@n1ru4l thanks for the feedback! I don't have an iPad on hand, can you repro on a non-iOS device? Which browser were you using? I plan on upgrading to react-use-gesture 8.0.0 when it goes stable and the next react-spring RC after a few issues are ironed out which may solve the problem
@tim-soft I was using Safari on iOS 13.4, unfortunately I don’t own an android device. On Chrome on Desktop everything seems okay.
Edit: I double-checked the trackpad on a MacBook and there the pinch-zooming works fine on Chrome. On Safari the whole page is zoomed instead of the image.
Could you try Chrome on your iPad? Sounds like I need to get my hands on some apple devices for more testing
Chrome on iPad is only a wrapper around the Safari engine. Despite that fact I checked and the behaviour is the same 😔.
Yeah, I just bought that one myself as I want to improve my apps performance. It also seems like the react-use-gesture maintainer does not have an iPad too, which sucks. Maybe if we get together enough people we could sponsor it somehow.
no worries, I just need to carve out some time to take a closer look. I'll update this issue when I get it fixed