craftcms / europa-museum

Craft CMS demo site.
https://craftcms.com/demo?kind=europa
BSD Zero Clause License
47 stars 25 forks source link

Inconsistent scroll behavior in Safari on macOS #1

Closed mattstein closed 2 years ago

mattstein commented 3 years ago

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:

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

  1. Navigate to Home, Exhibitions, and About in Safari.
  2. Attempt to scroll down the page, and observe that nothing happens—as if the scroll wheel or gesture wasn’t happening.
  3. Use R to refresh the page.
  4. Repeat step 2 and observe that you’re able to scroll again.

Additional info

mattstein commented 2 years ago

This got fixed with some of the front-end updates that happened earlier. Closing.