• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Hitting Browser Back Button Causes Previous Page to Enlarge

BrettS

Lurker
Hi,

I am developing some mobile web pages for Android browsers. I have the following viewport meta tag in the page header which *generally* results in a satisfactory page size:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

The exception is when I hit the back button. The previous page will load, but it will be larger that it was originally (zoomed in). I find hitting the reload button will fix the problem. However, that is not a practical solution. We have observed this issue on a Nexus One and a HTC Desire.

Can anyone offer a solution? Maybe a more appropriate meta tag perhaps?
Thank you.

Regards

Brett S
 
Back
Top Bottom