Ignore cmd/ctrl+shift+a to avoid conflict with Chrome tab search shortcut

This commit is contained in:
Ricardo Matsui
2025-12-26 12:42:12 -08:00
parent 04314d507b
commit 8f3fd3b37e
2 changed files with 2 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ const ArchivedTasks = () => {
// Ctrl/Cmd + A to select all // Ctrl/Cmd + A to select all
if ( if (
isHoldingCmdOrCtrl && isHoldingCmdOrCtrl &&
!event.shiftKey &&
event.key === 'a' && event.key === 'a' &&
!['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName) !['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName)
) { ) {

View File

@@ -338,6 +338,7 @@ const MyChores = () => {
// Ctrl/Cmd + A to select all - works both in and out of multi-select mode // Ctrl/Cmd + A to select all - works both in and out of multi-select mode
else if ( else if (
isHoldingCmdOrCtrl && isHoldingCmdOrCtrl &&
!event.shiftKey &&
event.key === 'a' && event.key === 'a' &&
!['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName) !['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName)
) { ) {