Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Spec review for Snap Events #943

Closed
1 task done
DavMila opened this issue Apr 5, 2024 · 1 comment
Closed
1 task done

Spec review for Snap Events #943

DavMila opened this issue Apr 5, 2024 · 1 comment
Assignees
Labels
Resolution: satisfied The TAG is satisfied with this design Topic: CSS Venue: CSS WG

Comments

@DavMila
Copy link

DavMila commented Apr 5, 2024

こんにちは TAG-さん!

I'm requesting a TAG review of Snap Events.

CSS scroll snap points are often used as a mechanism to create interactive scroll "selection" components, giving authors control over what areas of its content a scrolling container can settle. This proposal adds 2 JavaScript events, “snapchanging” and “snapchanged”, which fire in response to the scrolling/snapping of containers which snap. snapchanging is a JavaScript event that aims to let the web page know, as early as possible, that a scrolling operation will result in a change in the element the container being scrolled is snapped to. snapchanged is a JavaScript event that fires when a scrolling operation is complete and the scroller has snapped to a different element than it was previously snapped to.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: Interested in shipping when possible
  • The group where the work on this specification is currently being done: CSSWG
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue):
  • Major unresolved issues with or opposition to this specification:
    • csswg-drafts issue #10173: Should snap events fired at the document bubble?
    • csswg-drafts issue #10175: Should pseudo-elements show up as null SnapEvent.snapTargetBlock/Inline?
    • csswg-drafts issue #9697: Use present tense for snap event names.
  • This work is being funded by: Google
@torgo torgo added this to the 2024-08-12-week milestone Aug 7, 2024
@torgo torgo assigned torgo and unassigned torgo Aug 7, 2024
@torgo torgo modified the milestones: 2024-08-12-week, 2024-08-19-week Aug 7, 2024
@plinss plinss added Progress: in progress Mode: breakout Work done during a time-limited breakout session Review type: working group A review request from a WG that is not part of horizontal review and removed Progress: untriaged labels Aug 7, 2024
@torgo torgo added Venue: CSS WG Topic: CSS and removed Progress: in progress Mode: breakout Work done during a time-limited breakout session Review type: working group A review request from a WG that is not part of horizontal review labels Aug 7, 2024
@martinthomson
Copy link
Contributor

Discussed with @hober. This looks like it is on track. The choices made all seem appropriate.

Thanks for the detailed explainer.

@martinthomson martinthomson added the Resolution: satisfied The TAG is satisfied with this design label Aug 20, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Resolution: satisfied The TAG is satisfied with this design Topic: CSS Venue: CSS WG
Projects
None yet
Development

No branches or pull requests

5 participants