lightbox.loadAndOpen errors #1972
jacobmasters
started this conversation in
General
Replies: 1 comment 1 reply
-
I see the same thing. Did you ever figure out how to programmatically open it? I'm trying to open it when the page loads. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
lightbox.loadAndOpen(2); is throwing errors for me, specifically:
Does it have any dependencies, or required settings?
loading-indicator.js:37 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'content')
at PhotoSwipe.updatePreloaderVisibility (loading-indicator.js:37:27)
at eventable.js:352:18
at Array.forEach ()
at PhotoSwipe.dispatch (eventable.js:351:29)
at PhotoSwipe.init (photoswipe.js:376:10)
at PhotoSwipeLightbox._openPhotoswipe (lightbox.js:268:10)
at lightbox.js:202:14
Beta Was this translation helpful? Give feedback.
All reactions