Limit size of siblings list and some bug fixes

This commit is contained in:
2026-04-01 15:30:11 +02:00
parent 8a2cdb4acd
commit dbfe9ff383
7 changed files with 29 additions and 13 deletions

View File

@@ -56,8 +56,10 @@ const keydown = (e: KeyboardEvent) => {
return // prevent custom shortcuts from interfering with system shortcuts
} else if (
(document.activeElement as any).type !== undefined &&
(document.activeElement as any).type === "text" &&
(document.activeElement as any).type === "textarea"
(
(document.activeElement as any).type === "text" ||
(document.activeElement as any).type === "textarea"
)
) {
return // Prevent shortcuts from interfering with input fields
}