1. Check out our companion app, Forums for Android! Download from Google Play

Hitting Browser Back Button Causes Previous Page to Enlarge

Discussion in 'Application Development' started by BrettS, Jul 1, 2010.

  1. BrettS

    BrettS New Member
    Thread Starter
    5

    Jul 1, 2010
    3
    0
    5
    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
     

    Advertisement

  2. logix812

    logix812 New Member
    5

    Aug 22, 2011
    1
    0
    5
    Did you ever find a solution to this problem? I am running into the same thing.
     
  3. BrettS

    BrettS New Member
    Thread Starter
    5

    Jul 1, 2010
    3
    0
    5
    No sorry, I never did find a solution to that problem.
     

Share This Page

Loading...