Detect Android Chrome enter events #8

Closed
opened 2018-08-28 14:33:19 +02:00 by marijnh · 0 comments
marijnh commented 2018-08-28 14:33:19 +02:00 (Migrated from github.com)

Android Chrome deal strangely with virtual key input, and doesn't fire meaningful keydown events for the virtual keyboard. For typed text, that's okay (we can dispatch behavior on the text inserted to do things like bracket matching), but you might want to bind special behavior to enter or backspace.

When reading DOM changes on Android, we should detect changes that look like they originated with a specific key, and try dispatching that key's handlers before applying the actual change.

Android Chrome deal strangely with virtual key input, and doesn't fire meaningful keydown events for the virtual keyboard. For typed text, that's okay (we can dispatch behavior on the text inserted to do things like bracket matching), but you might want to bind special behavior to enter or backspace. When reading DOM changes on Android, we should detect changes that look like they originated with a specific key, and try dispatching that key's handlers before applying the actual change.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/dev#8
No description provided.