Jump to content

Scrolling Version 2


Recommended Posts

  • Moderators

To enable kinectic scrolling I improvised the following hack in Version 1, which works great and gives me fast form scrolling on touch devices. See www.lynkit.com.au/smsweb/index.html for an example.

 

Now in Version 2 this doesn't work quite as well.

The same hack enables scrolling but it is not kinectic and a bit sluggish.

See www.lynkit.com.au/smsweb/index2.html

 

The hack consists of 3 parts :

- set the style of the forms to overflow:auto

- add eventlisteners for touchstart and touchmove and calculate the displacement from the top

- add -webkit-overflow-scrolling: touch; to the body/html

 

I've tried various angles but it seems to me that V2 somehow disables kinectic scrolling somewhere.

Any idea where to look ?

Is there a better way of doing this ?

 

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...