Inconsistent scroll behavior in Safari on macOS
mattstein opened this issue · comments
Matt Stein commented
Description
When I navigate to the Home, Exhibitions, and About pages in Safari on macOS—and specifically those pages—I can’t scroll down the page without first refreshing it.
This is consistent with three different external mice:
- Logitech MX Master 3
- HK Mira S
- Apple Magic Trackpad 2
It looks like the locomotive-scroll
library is likely to be the culprit, and its reliance on event.preventDefault()
in setScrollTo()
is probably a detriment to accessibility. If it’s possible to remove or replace the library and maintain this buttery-smooth scrolling that would be ideal.
Steps to reproduce
- Navigate to Home, Exhibitions, and About in Safari.
- Attempt to scroll down the page, and observe that nothing happens—as if the scroll wheel or gesture wasn’t happening.
- Use ⌘ R to refresh the page.
- Repeat step 2 and observe that you’re able to scroll again.
Additional info
- macOS version: 11.3.1 (20E241)
- Safari version: 14.1 (16611.1.21.161.6)
Matt Stein commented
This got fixed with some of the front-end updates that happened earlier. Closing.