Fix root path handling and release action menus
This commit is contained in:
1 parent
487e410a8f
commit
94f2f10dcd
10 files changed
+444
-103
No files matched your search
@@ -610,6 +610,8 @@ function handleKeyDown(event: KeyboardEvent) {
|
||||
*/
|
||||
function handleEnterKey(event: KeyboardEvent) {
|
||||
if (event.key !== 'Enter') return;
|
||||
if (event.defaultPrevented) return;
|
||||
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;
|
||||
|
||||
const target = event.target as HTMLElement;
|
||||
if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA') {
|
||||
|
||||
Reference in new issue
Block a user