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
Scroll is completed when the scroll position has no more pending updates or translations and the user has completed their gesture.
It is not entirely clear to me what should occur when no more scrolling or translations can occur in the direction of the users scroll direction. For example, (based on my reading of the spec) a scroll container with overscroll-behavior: none and a pan gesture that hits the boundary should trigger a scrollend when the gesture completes (once the user lifts their fingers) and the boundary has been hit. I tested this on chromes implementation of scrollend with this example https://dlrobertson.com/examples/scrollend-event.html, and it appears that the scrollend is delayed. Do we include the momentum phase of a pan gesture in the definition of a "user gesture"? Also, should a scrollend be fired for a user scroll for which no scroll can occur?
Feedback on additional info that is nice to have when raising spec questions would be greatly appreciated 😄
The text was updated successfully, but these errors were encountered:
§ 3.1. Scrolling states:
and § 13.2. Scrolling states:
A scrollend event target is added to the Documents pending-scrollend-event-targets on scroll completed, which is defined as:
It is not entirely clear to me what should occur when no more scrolling or translations can occur in the direction of the users scroll direction. For example, (based on my reading of the spec) a scroll container with
overscroll-behavior: none
and a pan gesture that hits the boundary should trigger a scrollend when the gesture completes (once the user lifts their fingers) and the boundary has been hit. I tested this on chromes implementation of scrollend with this example https://dlrobertson.com/examples/scrollend-event.html, and it appears that the scrollend is delayed. Do we include the momentum phase of a pan gesture in the definition of a "user gesture"? Also, should a scrollend be fired for a user scroll for which no scroll can occur?Feedback on additional info that is nice to have when raising spec questions would be greatly appreciated 😄
The text was updated successfully, but these errors were encountered: