scroll-into-view / scroll-into-view-if-needed

Element.scrollIntoView ponyfills for things like "if-needed" and "smooth"

Home Page:https://scroll-into-view.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is it possible support touch to scroll on mobile's browser ?

nvcken opened this issue · comments

Yep, you just call it whenever you want it to scroll something into view. What events you want that to happen on is up to you.