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

iOS next/prev buttons don't fire key(press/up/down) events

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.1.1
    • Fix Version/s: None
    • Component/s: cordova-js
    • Labels:
      None
    • Environment:

      iOS 9.3.1

      Description

      I don't know if this is an upstream issue w/ iOS.

      Within a cordova app, pressing the next/prev keys on the iOS virtual keyboard do not propagate a key(up/down/press) event into the app.

      The prev/next keys (as far as I know) are useful to toggle from one input field to the next (when filling out a form). Using any sophisticated framework (such as angular material) in some cases does not use native html form elements. These elements do not get detected by iOS when the user presses next/prev buttons. So ideally the key event will fire so I can handle how the form fields are traversed by the next/prev buttons.

      Since this event is not firing I have no option (to the best of my understanding) except to gracefully degrade from angular material components to native HTML components, and attempt to style them similarly to how the angular components are styled.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cjardmore cjardmore
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: