Repository navigation
Commit 6f1c07b
committed
fix(web): typing into the device preview no longer goes to the composer
Type-to-focus listens for keydown on window in the capture phase and
redirects printable keys into the composer unless the target is editable
or interactive. The device preview screen is role="application" and on
neither list, so letters and digits never reached the emulator. Treat
role="application" as interactive: the role means the widget owns the
keyboard.1 parent 8630e1a commit 6f1c07b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
| |||
0 commit comments