Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您将屏幕尺寸设置为宽度:360x540 并单击标题或打开日期,则这是有效的演示,但是您会看到滚动不起作用。
我尝试设置回调函数
myScroll.refresh()
在它打开后,即使我试图摧毁然后建立新的卷轴,但后来我得到了一些错误。
在配置中
iScroll.js
我放了
checkDOMChanges:真
但没有帮助。
在我的项目中,我们遇到了同样的问题,我的团队通过添加超时代码解决了这个问题,如下所示:
/* s */ setTimeout(function(){ iscrollName.refresh(); },300) // you can changed the interval until whats you want /* e */