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
snapTo accepts a string argument which can be one of next, prev, first, last, however doesn't explain what these mean. I believe that there are many complicated cases where it's not clear which is next / last or prev / first.
D because D is first in block order?
Additionally, does first depend on which axis is specified? What if none of the snap points snap on both axes? (e.g. they are a mix of scroll-snap-align: center none and scroll-snap-align: none center
What is the next snap point? Next implies that it is based on the current snap point but it is possible (currently) to be snapped to one node in one axis and a different node in the other axis.
The text was updated successfully, but these errors were encountered:
snapTo accepts a string argument which can be one of next, prev, first, last, however doesn't explain what these mean. I believe that there are many complicated cases where it's not clear which is next / last or prev / first.
For example, consider the following:
What is the first snap point? Is it:
Additionally, does first depend on which axis is specified? What if none of the snap points snap on both axes? (e.g. they are a mix of
scroll-snap-align: center none
andscroll-snap-align: none center
What is the next snap point? Next implies that it is based on the current snap point but it is possible (currently) to be snapped to one node in one axis and a different node in the other axis.
The text was updated successfully, but these errors were encountered: