04-26-2012 07:06 AM
Pages on my app tend to over-scroll and bounce while scrolling when you reach the bottom of the document. This causes a nasty whitespace bounce/overscroll(ie. if your background is set to FFFFFF in the config.xml file) once the document end is reached
Is there a solution to this?
04-26-2012 11:59 AM
I'd like to know as well. My current solution is to fit everything wthin the 1024 by 600 frame. If it doesnt over scrool it doesnt bounce
04-28-2012 03:20 PM - edited 04-28-2012 03:22 PM
I use frames as a work around. Not the greatest solution but until we get a RIM solution to disable this I'm happy using this.
I created a main HTML page which contains a single row at 100% height and then link to the HTML page I want to display. Only thing that I lose using this method is the scroll bar on the side of the actual device.
<html> <frameset rows="100%"> <frame src="otherpage.html" /> </frameset> </html>
Hope this is of some help.
04-28-2012 04:06 PM - edited 04-28-2012 04:07 PM
What works for me is setting the body height / width to <= 100% and then positioning all visual elements at absolute (x, y) positions. The idea is that page size must not exceed screen size.
04-28-2012 05:27 PM
frames is not needed.
just use a div container and in the stylesheet change the overflow to none and height/width to be 1024 by 600
04-28-2012 09:21 PM
Div containers are pretty concrete... not makeshift solutions. It is also the html5 solution if you google it. If you think otherwise then .. as the previous poster said. good luck.