Fix root path handling and release action menus

This commit is contained in:
2026-05-24 17:40:55 +00:00
parent 487e410a8f
commit 94f2f10dcd
10 changed files with 444 additions and 103 deletions
@@ -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') {