Scrollbar React component with macOS style.
Home Page:https://MinJieLiu.github.io/mac-scrollbar
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
ikangjie opened this issue 2 years ago · comments
希望新增一个自由控制滚动条的位置,实现效果类似window.scrollTo
拿到滚动条的div 的 ref ref.current.scrollTop = '0px'
ref.current.scrollTop = '0px'
插件非常好用,感谢你的贡献🎉