jamesflorentino / nanoScrollerJS

A jQuery plugin that offers a simplistic way of implementing Lion OS scrollbars.
http://jamesflorentino.github.com/nanoScrollerJS/
MIT License
2.69k stars 502 forks source link

iOSNativeScrolling #192

Closed gryn closed 11 years ago

gryn commented 11 years ago

When using the iOSNativeScrolling option calling restore(), stop() or flash() will cause an error. This is because generate() is not called in this case. Either these functions should guard for this.pane not being set, or this.pane should be set to $().

Additionally, reset() calls generate() regardless of the iOSNativeScrolling setting, which it should not do -- probably -- in this case.

gryn commented 11 years ago

Sorry, second paragraph is not true -- I missed the 'return' case in reset().

kristerkari commented 11 years ago

Okay, thanks for reporting!

kristerkari commented 11 years ago

@gryn I did some quick fixes for this. Could you try and test with the latest code from master branch?

gryn commented 11 years ago

Hi kristerkari, I'm unable to test this anymore as I've found myself inundated with other client's tasks (and I have already coded and shipped a work around for the client this affected). I'm sure you've got it under control though, thanks for the quick response. :)