Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
dyashkir
Posts: 23
Registered: ‎03-21-2011
My Device: 9780
Accepted Solution

Overscrolling

Is there a way to stop a page from being overscrolled?

 

I wanted to utilize an interface where I have a scollable area with couple toolbars one at the top and nother at the bottom. However it seems that not only scrolling is messing up with the fixed position divs but also the central are can be dragged until grey background is showing.

 

Would the only way be to have page that is not scrollable at all?

Developer
TheMarco
Posts: 669
Registered: ‎02-19-2011
My Device: BlackBerry PlayBook 32GB

Re: Overscrolling

 

<meta name="viewport" id="viewport" content="width=1024,height=600,initial-scale=1.0,user-scalable=no" />

 

 

Staff UI Prototyper (read: full-time hacker)


My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App

Developer
ryanmc
Posts: 71
Registered: ‎02-04-2011
My Device: Blackberry Bold & Pearl

Re: Overscrolling

Nope, with the inertia scrolling we are a bit buggered when it comes to fixed divs.

 

The best practice as suggested by the devs here is to hide to toolbars when scrolling starts and show them when the scrolling finishes.

 

I just moved my tools to the left hand side of the screen as we can only force landscape mode at this point and horizontal realestate is more available than vertical.