Timeline wipe with your finger


(jabbawocky) #1

hi guys,

I need your help once.
how do I get the impression toward a timeline wipe with your finger or the mouse at the end of the wipe gently continues and then stops.

as when scrolling in Safari on the iPad. I wipe over it, the window begins to scroll and the movement runs out gently.

With the function “continue after drag” and various %- speed settings I previously had no success.


(Hans-Gerd Claßen) #2

for scrolling it’s the css-property:

overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;

https://css-tricks.com/snippets/css/momentum-scrolling-on-ios-overflow-elements/

as for using a timeline you can only work with easing (and stoppoints).


(jabbawocky) #3

Hallo Hans,
Danke für deine schnelle Antwort.

Thanks for your answer. With ccs I know that too.

I think there must be a JavaScript function that makes it possible.
I’ve already seen this here in Forum - but i no longer find these topic.

Michael