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

Keyboard causes input focus issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.5.0
    • None
    • iOS 6.1

    Description

      I've confirmed that this issue is caused by the keyboard plugin, because it does not happen when the keyboard plugin is disabled.

      If there is an input on the lower half of the page, when it is tapped, the keyboard will slide up, covering the input and not putting it in focus.

      In my config file I have the following:

      config.xml
          <preference name="HideKeyboardFormAccessoryBar" value="true" />
          <preference name="KeyboardShrinksView" value="true" />
          <preference name="DisableScrollingWhenKeyboardShrinksView" value="false" />
      

      This appears to only happen when the input is on a page that is absolutely positioned.

      The best reference I can find about the issue is http://www.telerik.com/forums/click-on-input-levels-up-the-footer-on-the-keyboard-whitout-change-the-view-!- but the suggested change of setting the body height on deviceReady didn't work for me.
      It does not appear to be related to the status bar (as potentially stated in that thread). Removing the status bar plugin did not fix the problem.

      My guess is that it's related to hiding the accessory bar and intercepting the keyboard opening in Objective C, but I don't know enough about ObjC to know what would cause the focus to be lost

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpogue Darryl Pogue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: