palantir/blueprint
View on GitHubTable hotkeys prevent newlines in text areas in cells
Open
#6425 opened on Oct 3, 2023
P2Package: tableType: bughelp wanted
Description
Environment
- Package version(s): @blueprintjs/table: 5.0.12
- Operating System: Mac OS (Intel)
- Browser name and version: Chrome 117.0.5938.92
Code Sandbox
https://codesandbox.io/p/sandbox/strange-microservice-hgshms
Steps to reproduce
- Put a text area in a Cell in a Table2
- Try to add a newline to the text area by pressing enter
Actual behavior
Nothing happens
Expected behavior
A new line would be entered
Possible solution
Stop preventing defaults on enter keydown events that happen in the table.