snap-slider
snap-slider copied to clipboard
Safari Bug: goto({ focus: false }) still triggers focus on scroll.end event
Issue was reported where trying to call slider.goto({ focus: false })
ended up still focusing the slide in Safari.
Seems like the scroll.end
event is somehow delayed in Safari, and since it doesn't inherit options
from the initial goto()
call it focuses by default.
In this specific example, it was for two synced sliders (via a change
callback). Couple different ways we could go (e.g., making "sync" a core feature, or adding a "disable focus" option, etc.).
Going to have to dig into this one (and hope Cypress implements Safari support soon 😬).
and hope Cypress implements Safari support soon 😬
Same!