cubiq/iscroll — Issue #136: Jumpy behavior in Chrome, FF, Safari if scroller div is shorter than wrapper div
Author: masondesu
Created: 2011-10-16 16:02:58+00:00
State: open

If the contents of the scroller div are not tall enough to stretch it to a greater height than the wrapper div, you'll see mega-jumpy behavior in latest Chrome, FF and Safari builds. The list (or whatever it is you're trying to scroll) will jump up and down wildly if scrolling down. Scrolling up poses no problems.

In my circumstance, I was able to patch it with

```javascript
_startAni: function () {
// immediately after variable delcaraitons
if (that.wrapper.offsetHeight > that.wrapper.children[0].offsetHeight) return;
```

but I imagine that this isn't appropriate for everyone. I'll be happy to make this a param in the options and submit a Pull Request, unless you think there's a more elegant solution. Thanks!