Page 1 of 3

Fast scrolling on iOS

Posted: Thu Jan 02, 2014 7:12 pm
by Adam Garbinski

Hello,

I am trying to improve UX with scrolling on iOS devices. Native browser's scrolling leaves a lot to be desired. I have found couple of web pages on that, and it looks like that since iOS version 5 it is possible:

http://johanbrook.com/browsers/native...

http://css-tricks.com/snippets/css/mo...

http://stackoverflow.com/questions/18...

http://weblog.west-wind.com/posts/201...

Can you please advise me if it is possible with Appery and how should I implement this feature? I tried couple of simple approaches like adding this styling:

.fastScroll {
overflow-y: scroll !important;
-webkit-overflow-scrolling: touch !important;
}

via page load event:

Appery('PickFoodContainer').addClass('fastScroll');

but none worked for me.


Fast scrolling on iOS

Posted: Thu Jan 02, 2014 8:30 pm
by Kateryna Grynko

Hi Adam,

Just add the class name in properties panel in field 'Class Name'.


Fast scrolling on iOS

Posted: Thu Jan 02, 2014 9:03 pm
by Adam Garbinski

Thanks Katya. It can't be that simpe ;)

Where exactly? To the moblilecontainer's properties?


Fast scrolling on iOS

Posted: Thu Jan 02, 2014 9:54 pm
by Kateryna Grynko

Adam,

As I suppose, to 'PickFoodContainer'.


Fast scrolling on iOS

Posted: Thu Jan 02, 2014 10:04 pm
by Adam Garbinski

Ok. I have added, but unfortunately no change in scrolling experience.
Any ideas?


Fast scrolling on iOS

Posted: Fri Jan 03, 2014 4:23 pm
by Adam Garbinski

Hi guys,
Anybody on that?


Fast scrolling on iOS

Posted: Fri Jan 03, 2014 5:21 pm
by Kateryna Grynko

Hi Adam,

Let's check if styles applied.

F12 - Elements, and here find a tag with attribute data-role="content" (or right mouse button click on container and see sources) and see styles.

Here is an example:
Image
Class fastScroll is applied.

Did you change Source files?


Fast scrolling on iOS

Posted: Sat Jan 04, 2014 11:49 pm
by Adam Garbinski

Hi Katya,

Yes. The style is applied. You can see it here:

Image

No. I haven't changed Source files.


Fast scrolling on iOS

Posted: Mon Jan 06, 2014 1:23 pm
by Adam Garbinski

Hello,
Can anybody help me please with what to do next?


Fast scrolling on iOS

Posted: Mon Jan 06, 2014 1:37 pm
by Kateryna Grynko

Hi Adam,

Sure. We are working on it...