cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

Load or Ajax loaded iscroll error in bug #1132

Closed MrChenYZ closed 7 years ago

MrChenYZ commented 7 years ago

If the external load or Ajax a isrcoll load pull to refresh the plug-in, the plug-in can not be used, you need to call the setTimeout (loaded, 200); for document.addEventListener ('DOMContentLoaded', function) {setTimeout ((loaded, 200);}, false) has been a failure.