Giter Site home page Giter Site logo

Comments (4)

Mtillmann avatar Mtillmann commented on September 27, 2024

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.

dinandmentink avatar dinandmentink commented on September 27, 2024

Yes, the lightbox does open before switching to a new page.

Oh, yes, ofcourse. Let me try, it would be so obvious.

from simplelightbox.

dinandmentink avatar dinandmentink commented on September 27, 2024

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.

Mtillmann avatar Mtillmann commented on September 27, 2024

no worries, I'll close this issue

from simplelightbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.