Is there an existing issue for this?
Describe the issue
The TextInput component currently calls stopPropagation on every keydown event, with a reference to #612. This is a quite heavyhanded workaround to a niche problem, and prevents me from handling key events further up the tree
Expected behavior
TextInput should only stop propagation of relevant events (space?)
Steps to reproduce
- Add a View with a keydown handler
- Add a TextInput inside it
- Press a key (e.g. Escape) while the TextInput is focused
The containing View does not receive the event
Test case
https://codesandbox.io/p/sandbox/fragrant-brook-42hkcd
Additional comments
No response
Is there an existing issue for this?
Describe the issue
The TextInput component currently calls
stopPropagationon every keydown event, with a reference to #612. This is a quite heavyhanded workaround to a niche problem, and prevents me from handling key events further up the treeExpected behavior
TextInput should only stop propagation of relevant events (space?)
Steps to reproduce
The containing View does not receive the event
Test case
https://codesandbox.io/p/sandbox/fragrant-brook-42hkcd
Additional comments
No response