Comments (4)
Can you try and disable turbolinks and see if the problem persists? I'm pretty certain that this is not a issue with simplelightbox. I see that the lightbox opens before the location is changed to the image uri
from simplelightbox.
Yes, the lightbox does open before switching to a new page.
Oh, yes, ofcourse. Let me try, it would be so obvious.
from simplelightbox.
Too bad. Disabling turbo on these links doesn't work. Neither does completely disabling turbo.
For some reason I can not reproduce it on localhost, to test it in development I have to add a fake domain to /etc/hosts.
Anything else you can think of?
Edit:
I think I found the culprit. For some reason the plausible tracker causes this issue. I will edit this if I manage to fix it, but I'm fairly certain this isn't simplelightbox related.
Thanks for the quick response and help. Maybe I just needed the virtual rubber duck.
Edit 2:
Found the culprit, this was unrelated to simplelightbox. I used plausible tracker enableAutoOutboundLinkTracking()
on simplelightbox, which for some reason messes up outbound links. In this case using a cdn domain caused the images to be outbound links.
My bad for flagging this, thanks for the help.
from simplelightbox.
no worries, I'll close this issue
from simplelightbox.
Related Issues (20)
- Error when opening the lightbox the second time while using the download option. HOT 1
- overflow:scroll HOT 1
- Unable to preventDefault inside passive event listener invocation. HOT 1
- Caption not working since 2.12.1 HOT 1
- Overlay stays on the page while lightbox is closed HOT 4
- A huge set of images leads to sluggish performance HOT 1
- Issue with too many classes (Tailwind) HOT 4
- sluggish performance in Safari HOT 18
- XSS Vulnerability when caption source is user provided HOT 5
- Images are reloaded frequently HOT 2
- uniqueImages also disables open in lightbox HOT 5
- Issue with activated history HOT 3
- Opening the lightbox from a modal window HOT 2
- Preventing the showing lightbox HOT 1
- No more dynamic content in lightbox? HOT 2
- Not showing anymore HOT 1
- Content shift on all browsers (Windows/PC platform only) HOT 4
- Missing AVIF extension support
- Do not open lightbox if a href link has download attribute :+1:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplelightbox.