-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Image jump when scrolling to close PhotoSwipe lightbox #1492
Comments
I can confirm this. |
Hi @dimsemenov ! Can we have your input on this? Thanks |
You need to delay the unbind of the scroll listener until the close animation finish.
to:
|
Thanks @gordonwes! I'm gonna try your fix asap |
Just been testing your solution @gordonwes and it's working great 😄 @dimsemenov, is it possible to create a new release with a fix so we can close this issue? Thank you so much! |
This bug is almost 1 year old so I am wondering... is this lib still maintain? |
Hi @dimsemenov,
You can check this bug on your demo page by simply open an image and scroll down.
You'll notice that the image do not return to the exact placeholder position then jump to it.
I found another library that have the same zooming effect without this bug you should have a look:
https://desmonding.me/zooming/
You can maybe found the fix inside the code.
Cheers
The text was updated successfully, but these errors were encountered: