chjtx / JRoll

Smooth scrolling for the mobile web
http://www.chjtx.com/JRoll/
MIT License
460 stars 92 forks source link

初始化的时候 执行scrollTo maxScrollY 是0 #60

Closed Malenconiaprincep closed 5 years ago

chjtx commented 6 years ago

setTimeout 300ms再执行试试,或者你的样式设置有问题

Malenconiaprincep commented 6 years ago

我现在的做法是refresh 再来处理逻辑

chjtx commented 6 years ago

把你的问题在http://runjs.cn/重现一下,不然没法明白你是怎样用的