New issue

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

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

Already on GitHub? Sign in to your account

CSS Snap Points: Event Model Missing #156

Open
scottjehl opened this Issue May 31, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@scottjehl

scottjehl commented May 31, 2016

It would be useful if CSS Snap Points had an event model for events like say, snapstart, snapstop, and snapchange. Currently, we can listen for scroll events and try to simulate these events, but it's hard to pinpoint when a native snap starts and ends, as opposed to a user-driven scroll.

@tabatkins

This comment has been minimized.

Show comment
Hide comment
@tabatkins

tabatkins May 31, 2016

Member

Yeah, def.

Member

tabatkins commented May 31, 2016

Yeah, def.

@fantasai

This comment has been minimized.

Show comment
Hide comment
@fantasai

fantasai Sep 26, 2016

Contributor

Note: In the interest of wrapping up the existing set of functionality (which is well-specced and pretty much done), we're deferring the event model until a later level of CSS Scroll Snap.

Contributor

fantasai commented Sep 26, 2016

Note: In the interest of wrapping up the existing set of functionality (which is well-specced and pretty much done), we're deferring the event model until a later level of CSS Scroll Snap.

birtles added a commit to birtles/csswg-drafts that referenced this issue Dec 4, 2017

Make the default distance calculation distance = 0
As far as I can tell, this produces the correct result in all cases.

This closes w3c#156.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment