Don't know about other use cases - in my case i was applying kinetic to the body, and using it to scroll around a fixed size div. It scrolled but the deceleration functions were not being called. I don't know if this issue would happen if kinetic was applied to other elements (i assume not?) But again, time is tight, no time to test! :p
This was because of : [line 410]
if (settings.x && scroller.scrollWidth > 0) { ..decelerate.. }
Where scrollWidth was being returned as a number , I checked its value and it was often 0, sometimes - or + by varying random seeming amounts
Taking out the tests for scroller.scrollWidth > 0 fixed the issue,
I don't have time to fully investigate but maybe an extra test to see if the kinetic object is body, don't check for scrollWidth/Height?
Cheers for the plugin anyway dude ,
Merry Christmas ;)
Don't know about other use cases - in my case i was applying kinetic to the body, and using it to scroll around a fixed size div. It scrolled but the deceleration functions were not being called. I don't know if this issue would happen if kinetic was applied to other elements (i assume not?) But again, time is tight, no time to test! :p
This was because of : [line 410]
if (settings.x && scroller.scrollWidth > 0) { ..decelerate.. }
Where scrollWidth was being returned as a number , I checked its value and it was often 0, sometimes - or + by varying random seeming amounts
Taking out the tests for scroller.scrollWidth > 0 fixed the issue,
I don't have time to fully investigate but maybe an extra test to see if the kinetic object is body, don't check for scrollWidth/Height?
Cheers for the plugin anyway dude ,
Merry Christmas ;)