Skip to content
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

Exception: Cannot read property 'updateScrollOffset' of null #1390

Open
mbratukha opened this issue Jul 18, 2017 · 1 comment
Open

Exception: Cannot read property 'updateScrollOffset' of null #1390

mbratukha opened this issue Jul 18, 2017 · 1 comment

Comments

@mbratukha
Copy link

In the latest version of PhotoSwipe (4.1.2) I'm getting the following error:
photoswipe_bug

It happens when I go through images with buttons 'previous' and 'next'.

Any ideas?

Windows 10
Google Chrome 59.0.3071.115

linkesch added a commit to linkesch/PhotoSwipe that referenced this issue Oct 16, 2017
@LeEnno
Copy link

LeEnno commented Aug 8, 2018

@orthes' fix should do the trick.

StephanHovius pushed a commit to StephanHovius/PhotoSwipe that referenced this issue Oct 29, 2018
…fset' of null'. Sometimes when image onLoad is not finished yet, and the user closes photoswipe, the shout('destroy') is called, but then after image onload finished it gives this error.
andi34 pushed a commit to andi34/PhotoSwipe that referenced this issue Aug 22, 2020
…fset' of null'. Sometimes when image onLoad is not finished yet, and the user closes photoswipe, the shout('destroy') is called, but then after image onload finished it gives this error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants