kornelski / slip

Slip.js — UI library for manipulating lists via swipe and drag gestures
BSD 2-Clause "Simplified" License
2.44k stars 213 forks source link

Cannot read property 'scrollContainer' of null #48

Closed simpzan closed 8 years ago

simpzan commented 9 years ago

when use it on chrome Mac version with iPhone mode, the console prints out the following error:

Uncaught TypeError: Cannot read property 'scrollContainer' of null   slip.js:634
window.Slip.Slip.updatePosition                                                          slip.js:634
window.Slip.Slip.onTouchMove                                                           slip.js:672
ptbrowne commented 9 years ago

+1

callum-spartan commented 9 years ago

This problem seems to have been fixed in https://github.com/pornel/slip/commit/1524fdfd772c4ddbdb02c5b56b64a2188430ff35 but it wasn't in the slip.js file that I got when doing a bower install.