Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Fast scrolling on iOS

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Fast scrolling on iOS

Hi Adam,

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

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Fast scrolling on iOS

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

Where exactly? To the moblilecontainer's properties?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Fast scrolling on iOS

Adam,

As I suppose, to 'PickFoodContainer'.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Fast scrolling on iOS

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

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Fast scrolling on iOS

Hi guys,
Anybody on that?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Fast scrolling on iOS

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?

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Fast scrolling on iOS

Hi Katya,

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

Image

No. I haven't changed Source files.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Fast scrolling on iOS

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Fast scrolling on iOS

Hi Adam,

Sure. We are working on it...

Return to “Issues”