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

Various keyboard issues with Cordova 3.1 on iOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1.0
    • None
    • iOS 5.0, iOS 6.0, iOS 7.0

    Description

      I just tested Cordova 3.1 with a sample iOS app and experienced several keyboard issues.

      App settings:

      Xcode 5
      Status bar is hidden
      Landscape mode
      config.xml

      Issues:

      All versions: when focus on an input field then whole view is pushed up including navbar.

      iOS5/6: tap on an input field to open keyboard, then a black gap is briefly displayed at top of screen before keyboard pushes whole view up (is it status bar?)

      iOS7: there is no black gap like #2 issue, but there are other issues:

      I still see accessories bar before it's removed (hidden).

      Keyboard is translucent then I can see darker background in the space where current view is pushed up.

      If I changed , things are even worse:

      View is still pushed up, and when input field loses focus then a black gap is flickring at the top of screen, even on iOS 7, what doesn't happen if KeyboardShrinksView = false.

      Keyboard is no longer translucent on iOS 7.

      Below is my config.xml

      <preference name="DisallowOverscroll" value="true" />
      <preference name="HideKeyboardFormAccessoryBar" value="true" />
      <preference name="KeyboardDisplayRequiresUserAction" value="false" />
      <preference name="KeyboardShrinksView" value="true" />
      <preference name="SuppressesIncrementalRendering" value="false" />
      <preference name="TopActivityIndicator" value="gray" />
      <preference name="EnableLocation" value="false" />
      <preference name="EnableViewportScale" value="false" />
      <preference name="AutoHideSplashScreen" value="false" />
      <preference name="ShowSplashScreenSpinner" value="false" />
      <preference name="MediaPlaybackRequiresUserAction" value="false" />
      <preference name="AllowInlineMediaPlayback" value="false" />
      <preference name="BackupWebStorage" value="none" />
      <preference name="Fullscreen" value="true" />
      <preference name="Orientation" value="landscape" />

      Attachments

        Activity

          People

            Unassigned Unassigned
            tiendq Tien Do
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: