• Resolved iamazified

    (@iamazified)


    Hey,
    I have been using this plugin for over a year, but recently whenever I use the lightbox and then close the image, it scrolls to the top of the page and I lose the place I was at in the page.

    Am I doing something wrong?
    Pls help…

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    I don’t know why this happens. On my demo site it works fine. You can check, if it happens here for you as well:

    https://wordpress-demo.arnowelzel.de/lightbox-with-photoswipe/

    Maybe the old DOM ready check for Internet Explorer 9 causes a problem here – but this was already invented more than 13 months ago. Anyway, since Internet Explorer 9 is really not a thing any longer, I’ll remove this part in the frontend script.

    Thread Starter iamazified

    (@iamazified)

    Thanks a lot for your reply Arno,

    Your demo works fine. I dont know what is causing the scroll to the top of the page.
    I also updated to the latest version, but unfortunately no luck.

    Plugin Author Arno Welzel

    (@awelzel)

    If you tell me the URL of the affected website I can have a look if I see anything.

    Plugin Author Arno Welzel

    (@awelzel)

    Since the problem is likely caused by the theme used on the website, I’ll close this topic here now as “resolved” since Lightbox with PhotoSwipe can’t do anything to fix this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Scrolling to the top of the page’ is closed to new replies.