joehewitt / scrollability

Imitates iOS native scrolling in JavaScript.
http://joehewitt.github.com/scrollability
Other
1.78k stars 146 forks source link

Swipe #35

Open Xenofexs opened 11 years ago

Xenofexs commented 11 years ago

Hello. I use scrollability and jQuery mobile for positioned my elements like this :

var position = event.position * -1;

$('.actuB').animate({left : -$('.actuB').width() * 3 + position * 1.75, leaveTransforms:true }, 0);

When I scroll, the left absolute position change. Ok, good, but if I take off my finger, the iPad continue to scrolling alone but the event.position don't change.

I need to desable the "swipe" or continue to know my pixel top position when the iPad continue to scroll.

Thank you I'm at your services if you need more informations.