Software Archive
Read-only legacy content
17061 Discussions

How to disable Scroll Down (Pull Down) AF 2.2

Vijay_R_1
Beginner
863 Views

I am not implementing Pull to Refresh but the content can be accessed by scrolling (swipe up -  longer pages). I would like to disable scroll down(just like pull down to refresh) since there is no use of it.

When swipe or scroll down is used, the entire div comes down instead i want it to stick to the top while still allowing the user to access the entire page by scrolling.

Thanks.

0 Kudos
4 Replies
Vijay_R_1
Beginner
863 Views

@Intel Can someone help me on this?

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
863 Views

I am looking for it, too. In on specific sub-page, I want to disable the vertical scroll.

0 Kudos
Ian_M_Intel
Employee
863 Views

It should be  disabled by default.  Can you post an example somwhere?

https://github.com/01org/appframework/blob/2.2/ui/appframework.ui.js#L206  that is the property on the $.ui object that tells the scroller to lock the bouncing.  If you can host a demo, we will look into it.

0 Kudos
Vijay_R_1
Beginner
863 Views

Works perfect, it was not implemented in the older version of appframework.ui.js

Thank you. :-)

0 Kudos
Reply