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
But this is not what I want.. FYI, the selector only represents that will scroll to its position, not trigger scrolling itself. The window will still trigger scrolling eventually.
Like:
// window.scrollTo()
I hope the passed element trigger scrolling,
Like:
// element.scrollTo({x: 10, y: 10});
What problem does this feature solve?
When using scrollBehavior api, it seems that only supports window scroll i.e.
, so, I hope add a param into the return object
element
, that the element triggers scrolling, not only window.What does the proposed API look like?
The text was updated successfully, but these errors were encountered: