You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See codepen below. Open the console in devtools. Scroll down so both sliders are visible. Click in one slider, then in the other. Each time, a window scroll event is logged.
This behavior is actually a feature of keyboard accessibility. By clicking/tapping on a gallery, it adds focus to its element.
Flickity v1.1.1 add behavior to capture that scroll and reset the window position so there would be no change in scroll position. The scroll event would like still trigger.
See codepen below. Open the console in devtools. Scroll down so both sliders are visible. Click in one slider, then in the other. Each time, a window scroll event is logged.
Test case: https://codepen.io/anon/pen/XegKLG
The text was updated successfully, but these errors were encountered: