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
It was pointed out here that "snapchanged" (introduced in the scroll-snap-2 spec) doesn't follow the convention of using present tense to name JavaScript events.
Additionally, zcorpansuggests using names that put the snap events closer, alphabetically, to the scroll and scrollend events.
To riff off on that suggestion, I propose:
scrollsnapchanging instead of snapchanging, and
scrollsnapchange instead of snapchanged
which reflect not just that snapping is happening but that there is a change in snap targets as is the intention of the events.