Skip to content

iOS 18 requires text input focus before accepting key events #1492

@adammeyer

Description

@adammeyer

Bug Report

Problem

What is expected to happen?

Using a bluetooth keyboard, app should accept keyboard events at anytime. Example, arrow keys.

What does actually happen?

Since iOS18, focus on text input is required to "activate" key events. After initial focus in any text input, key events work again throughout the app. This isn't an issue in Safari on iOS 18.

Information

Spin up a new app with https://keyevents.netlify.app/. Picks up key events in iOS 17, does not in iOS 18.

Command or Code

Environment, Platform, Device

iPad, iOS 18

Version information

iOS 18,
Cordova iOS 7.1.1

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale/2025-11webkit bugBugs that originate upstream in Apple's WebKit implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions