Closed ellemenno closed 9 months ago
This is intentional to stop background scrolling when zooming in / out. The listener is removed when the gallery is closed so there shouldn't be any actual impact to scroll performance.
If someone knows a better way to do this, let me know. But I experimented back when I first made the library and this seemed like the best approach at the time.
when navigating through a gallery, each image load prompts the following log message in Chrome:
this can be seen by opening the javascript console on the demo page, and setting the log filter to include 'Verbose'.