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
CSS Scroll Snap mentions the term "scrolling operation" / "scroll operation" in several places, though it doesn't actually define it. It only provides a few examples for types of scroll operations.
The term should be unified throughout the specification and probably be defined in the scrolling methods section or another central place.
Sebastian
The text was updated successfully, but these errors were encountered:
Here's one concrete issue related to this: How should scroll-snap-stop: always actually behave? It is currently defined like this:
The scroll container must not pass over a snap position defined by this element during the execution of a scrolling operation; it must instead snap to the first of this element’s snap positions.
This could be interpreted in two different ways:
Always snap to the first snap position, no matter whether the scrolling operation is still ongoing. I.e. the scrolling operation is forced to stop at the first snap position, even when the scrolling operation isn't finished yet, e.g. because the user is dragging the thumb of a scrollbar or dragging via their finger on a touch device.
Snap to the first snap position after the interaction with the device has finished. E.g. once a user doesn't drag the thumb of a scrollbar anymore or release their finger from a touch device after swiping. That means, while actively scrolling, multiple scroll positions can still be skipped.
It looks like all three main browser engines currently implement the latter, though the specification suggests the former behavior.
So it should be clarified what's meant by "scrolling operation" and with that which one of the two is the correct behavior.
(There are probably use cases for both behaviors. So, depending on the outcome here I may create a separate issue to discuss whether we should introduce the other behavior.)
CSS Scroll Snap mentions the term "scrolling operation" / "scroll operation" in several places, though it doesn't actually define it. It only provides a few examples for types of scroll operations.
The term should be unified throughout the specification and probably be defined in the scrolling methods section or another central place.
Sebastian
The text was updated successfully, but these errors were encountered: