-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionwaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
KeyboardEvent key values in keyboard_maps.dart have mappings for 'Escape' but not for the older 'Esc' key values.
These values were used by older IE and Firefox browsers, and are still being generated by the Cobalt browser.
(Specifically, this is causing problems when running a Flutter-Web app on Cobalt and using the back button on the TV remote. The KeyboardEvent generated by Cobalt has an 'Esc' key value, which then does not get interpreted by Flutter as an LocalKeyboardKey.escape event.)
See the note on the 'Escape' value here:
https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#ui_keys
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionwaiting for PR to land (fixed)A fix is in flightA fix is in flight