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
@Schepp mentioned in #156 that he'd like to have a way to programmatically scroll to a certain snap point.
There are indeed use cases in which authors may want more explicit control over the scroll position when scrolling with a scroll container. E.g. scrolling to a specific image in a gallery.
A possible solution for that would be to reuse the scrollTo() function for that. Its ScrollToOptions dictionary could be extended by a new option indicating a snap point.
Sebastian
rlebascle, sergiocerrutti, carlosg2, its-me-VOID, emzo and 2 more