Smooth scroll on mobile

Contains tips for configurators working with Aware IM
Post Reply
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Smooth scroll on mobile

Post by hpl123 »

Hi all,
Here is a tip on how to implement "smooth scroll" (and not the jumpy/buggy scrolling that exist in some mobile things like a VP frame, some forms etc.) and it seems as though it works in all areas:

In startup.html add the following in the "html,body" style tag:

Code: Select all

-webkit-overflow-scrolling: touch;
Source: https://css-tricks.com/snippets/css/mom ... -elements/
Henrik (V8 Developer Ed. - Windows)
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Smooth scroll on mobile

Post by RLJB »

Henrik - that works! :) well done.

Support, this should just be permanently in startup.html (suggestion)
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: Smooth scroll on mobile

Post by mrbdrm »

I have done that before.
There is an issue on ios that could casue flickering on screen with this.
My solution was to apply it only on the forms.
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: Smooth scroll on mobile

Post by RLJB »

Thats a good tip - thanks!

Any other ones?
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
Post Reply