Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8088

Viewport fails to scale after showing keyboard

    XMLWordPrintableJSON

Details

    Description

      1. Enable viewport scaling using the following config.xml preference:

      <preference name="EnableViewportScale" value="true" />

      2. Set viewport width to device-width. Here's my viewport:

      <meta name="viewport" content="user-scalable=no, width=device-width, height=device-height, target-densitydpi=device-dpi" />

      3. Launch app, and rotate device to trigger rescaling. Works.

      4. Focus on an input to show the keyboard. Hide the keyboard.

      5. Rotate device to trigger rescaling. Doesn't rescale.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              wildabeast Ryan Willoughby
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: