Limit size of siblings list and some bug fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user