hugo-easy-gallery icon indicating copy to clipboard operation
hugo-easy-gallery copied to clipboard

Weird scrolling incompatibility with OverlayScrollbars

Open Darthagnon opened this issue 2 years ago • 1 comments

As outlined here: https://github.com/KingSora/OverlayScrollbars/issues/432, Hugo Easy Gallery (even my updated fork with all current PRs merged) resets scroll position on the page after viewing an image, if used while OverlayScrollbars is enabled.

Example site

Darthagnon avatar Mar 28 '22 23:03 Darthagnon

I suspect the PhotoSwipe loader uses some sort of weird workaround, as I notice it scrolls to the top of the page to display things, before scrolling back down (when using regular system scrollbars)

Darthagnon avatar Mar 28 '22 23:03 Darthagnon