craftcms / europa-museum

Craft CMS demo site.

Home Page:https://craftcms.com/demo?kind=europa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent scroll behavior in Safari on macOS

mattstein opened this issue · comments

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

  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

  • macOS version: 11.3.1 (20E241)
  • Safari version: 14.1 (16611.1.21.161.6)

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