argyleink/ScrollSnapExplainers

`scrollend` maybe should be `scrollfinished`

argyleink opened this issue · 3 comments

see this lib here https://github.com/BMSVieira/letmescroll.js that uses end to indicate the scroller is at the end, and has top to say it's at the top. might be nice to leave it open for scrollend and scrolltop events in addition to scrollfinished

oh yeah, i didnt write an explainer for scrollend, so i guess i should find a better place for this thought

Given that there‘s animationend and transitionend to indicate that the animation/transition has ended, using scrollend seems more logical.

To flag that a user has the edge of scrollport I‘d use something like scrolledgereached, with the name of the edge (inline-start, block-end, etc) available as a property on the event object.

Given this has been added to the spec as scrollend this issue can probably be closed.