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
While it makes sense that transitions are removed for scroll view, there are some similar transition-like behaviors that I think are desirable such as vertical slide (scroll to next/prev slide), as well as concave and convex vertical slide.
For me personally, the one I am currently most interested in is simple vertical slide. When using mouse, the scrolling and snapping is desirable behavior, but when using arrow keys or calling prev and next api functions, the next slide immediately appears. This is fine in some instances, but sometimes its still desirable to scroll to the slide in a smooth fashion (like with ease-in-out).
A basic implementation of the latter behavior can probably be achieve using element.scrollTo function. In fact, the scrollSnap implementation probably contains the code needed to achieve this as well.
The text was updated successfully, but these errors were encountered:
While it makes sense that transitions are removed for scroll view, there are some similar transition-like behaviors that I think are desirable such as vertical slide (scroll to next/prev slide), as well as concave and convex vertical slide.
For me personally, the one I am currently most interested in is simple vertical slide. When using mouse, the scrolling and snapping is desirable behavior, but when using arrow keys or calling
prev
andnext
api functions, the next slide immediately appears. This is fine in some instances, but sometimes its still desirable to scroll to the slide in a smooth fashion (like withease-in-out
).A basic implementation of the latter behavior can probably be achieve using
element.scrollTo
function. In fact, thescrollSnap
implementation probably contains the code needed to achieve this as well.The text was updated successfully, but these errors were encountered: