palantir/blueprint

Cannot use Enter key in dialog/textarea spawned from Table

Open

#5,042 建立於 2021年11月29日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
P2Package: corePackage: tableType: bughelp wanted

描述

Environment

  • Package version(s): table 3.9.12, core 3.49.1
  • Operating System: windows
  • Browser name and version: firefox and chrome

Code Sandbox

https://codesandbox.io/s/blueprint-sandbox-forked-r06o8?file=/src/index.tsx

image

Actual behavior

Cannot insert new lines by typing Enter in textarea in dialog which is a child of a Table

It behaves as if the table intercepted the Enter key. All other keys seem to work normally. It is possible to insert new lines by pasting (Ctrl-V).

Expected behavior

Can use the Enter key in textarea of dialog which is a child of a Table

Possible solution

貢獻者指南