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

Keyboard plugin on iOS7 can cause re-layout bugs with fixed position bottom elements

    XMLWordPrintableJSON

Details

    Description

      Pull Request for "fix": https://github.com/apache/cordova-plugins/pull/2

      Copying the description here:

      If there is a fixed position, bottom positioned element on the page, this keyboard plugin causes awkward re-layouts of the element on keyboard pop up – but only occasionally (I can attach screenshots if you cannot reproduce).

      Repro steps:
      1. Add to blank app:
      2. 'cordova emulate ios' on ios7 simulator
      3. click the input box to open keyboard
      4. See input briefly in right position, then migrate to the top of page

      It appears there is a race of some kind, since it happens consistently when run in simulator outside of xcode via 'cordova emulate ios', but does not happen when using xcode debugging or when run on device.

      While this doesn't seem high priority, as far as I can tell, this code is not doing anything useful on ios7, so can just safely just be no-oped. WDYT?

      Attachments

        Activity

          People

            mmocny Michal Mocny
            mmocny Michal Mocny
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: