blueimp / Gallery

blueimp Gallery is a touch-enabled, responsive and customizable image & video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. It features swipe, mouse and keyboard navigation, transition effects, slideshow functionality, fullscreen support and on-demand content loading.
https://blueimp.github.io/Gallery/
Other
3.76k stars 984 forks source link

Scrollbar stays hidden after routing out of the gallery #239

Closed mickgr closed 4 years ago

mickgr commented 4 years ago

When keeping hidePageScrollbars option with default true, When opening the Gallery, overflow:hidden style is appended to the Body element. if you then press the back button on the browser, this Gallery close() function is not called and the style is not removed. This is causing the browser to keep hiding the scroll.

blueimp commented 4 years ago

Resolved via https://github.com/blueimp/Gallery/pull/240.