palantir/blueprint
Vedi su GitHubTable hotkeys prevent newlines in text areas in cells
Open
#6425 aperta il 3 ott 2023
P2Package: tableType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 43g 10h) (27 PR mergiate in 30 g)
Descrizione
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.