Scrollend events help developers reliably tell when a scroll has completed (including both the scroll itself and any updates to offsets from the scroll). Knowing when a scroll has completed is useful for various reasons, e.g. synchronizing some logic on the snapped section, fetching stuff in a list, triggering new animations, etc. This feature greatly simplifies the logic for handling end-of-scroll effects, ensuring that they are consistent across many different input modalities. Currently, developers address this need by observing scroll events and building ad-hoc timeout algorithms.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
Not potentially high risk.
We verified via Protocol Monitor that DevTools supports breaking on scrollend listeners, similar to other events. DevTools UI change is needed to make this accessible which will be done via crrev.com/c/4376080.
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
Specification
https://drafts.csswg.org/cssom-view/#scrolling-events
Summary
Scrollend events help developers reliably tell when a scroll has completed (including both the scroll itself and any updates to offsets from the scroll). Knowing when a scroll has completed is useful for various reasons, e.g. synchronizing some logic on the snapped section, fetching stuff in a list, triggering new animations, etc. This feature greatly simplifies the logic for handling end-of-scroll effects, ensuring that they are consistent across many different input modalities. Currently, developers address this need by observing scroll events and building ad-hoc timeout algorithms.
Blink component
Blink>Scroll
Search tags
scroll
TAG review
TAG review status
Not applicable
Risks
Interoperability and Compatibility
Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1797013)
WebKit: No signal (https://github.com/WebKit/standards-positions/issues/150) There hasn't been an explicit position attached to the position request yet but there is a tracking WebKit issue: https://bugs.webkit.org/show_bug.cgi?id=201556
Web developers: Positive (https://twitter.com/nghuuphuoc/status/1618806085158051846?s=20) Other examples: https://twitter.com/radogado/status/1621479592123826184?s=20 https://twitter.com/ebidel/status/1621037204297637891?lang=en
Other signals:WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
Not potentially high risk.
Debuggability
We verified via Protocol Monitor that DevTools supports breaking on scrollend listeners, similar to other events. DevTools UI change is needed to make this accessible which will be done via crrev.com/c/4376080.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Is this feature fully tested by web-platform-tests?
Yes
Flag name
N/A
base::Feature is autogenerated from runtime_enabled_features.json5
Requires code in //chrome?
False
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=907601
Estimated milestones
M114
Anticipated spec changes
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5186382643855360
This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF7nGNT0bwM8VY3Jj0TAEe9jNptKuwrMN1%3DO8tnqH2t8JQ%40mail.gmail.com.
On Fri, Mar 31, 2023 at 3:50 PM David Awogbemila <awogb...@chromium.org> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Also, was this send to the TAG?
On Tuesday, April 4, 2023 at 9:11:26 PM UTC-7 Yoav Weiss wrote:
On Fri, Mar 31, 2023 at 3:50 PM David Awogbemila <awogb...@chromium.org> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF5nehZf%3DZ3SzVtTSjgQpRENCh_G4aK1PhzO6ehtvQVTTQ%40mail.gmail.com.
LGTM3
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfV6V7eLcqcgSZfiNP%3Dm8gA5YKKGDfJKLiz5Y%2B8iFEDggQ%40mail.gmail.com.
LGTM3
/Daniel
On 2023-04-12 10:57, Yoav Weiss wrote:
Thanks for verifying this and for filing Firefox issues.
LGTM2
On Tue, Apr 11, 2023 at 10:46 PM David Awogbemila <awogb...@chromium.org> wrote:
On Fri, Apr 7, 2023 at 4:49 AM Yoav Weiss <yoav...@chromium.org> wrote:
On Thu, Apr 6, 2023 at 2:39 AM David Awogbemila <awogb...@chromium.org> wrote:
On Wed, Apr 5, 2023 at 12:11 AM Yoav Weiss <yoav...@chromium.org> wrote:
On Fri, Mar 31, 2023 at 3:50 PM David Awogbemila <awogb...@chromium.org> wrote:
Contact emails
arg...@google.com, awogbemila@google.com
Explainer
https://github.com/argyleink/scrollend-explainer/blob/main/README.md
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF7nGNT0bwM8VY3Jj0TAEe9jNptKuwrMN1%3DO8tnqH2t8JQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Regardless of the LGTM's, it's not sufficient to cite a CSS WG draft. Please advise the TAG with an FYI before you ship.
On Wednesday, April 12, 2023 at 8:20:44 AM UTC-7 Daniel Bratell wrote:
LGTM3
/Daniel
On 2023-04-12 10:57, Yoav Weiss wrote:
Thanks for verifying this and for filing Firefox issues.
LGTM2
On Tue, Apr 11, 2023 at 10:46 PM David Awogbemila <awogb...@chromium.org> wrote:
On Fri, Apr 7, 2023 at 4:49 AM Yoav Weiss <yoav...@chromium.org> wrote:
On Thu, Apr 6, 2023 at 2:39 AM David Awogbemila <awogb...@chromium.org> wrote:
On Wed, Apr 5, 2023 at 12:11 AM Yoav Weiss <yoav...@chromium.org> wrote:
On Fri, Mar 31, 2023 at 3:50 PM David Awogbemila <awogb...@chromium.org> wrote:
Contact emails
arg...@google.com, awogb...@google.com
Explainer
https://github.com/argyleink/scrollend-explainer/blob/main/README.md
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF7nGNT0bwM8VY3Jj0TAEe9jNptKuwrMN1%3DO8tnqH2t8JQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfV6V7eLcqcgSZfiNP%3Dm8gA5YKKGDfJKLiz5Y%2B8iFEDggQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/76a74d18-3704-4ca4-8e08-f45be9e95048n%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF5ud1mXreBWSPOZL5B%3D1LYEp-DeXX_1Rt6cfqZOAc9%3Dcg%40mail.gmail.com.