Merge pull request #44 from ricmatsui/feature/avoid-tab-search-conflict
Ignore Cmd/Ctrl+Shift+A to avoid conflict with Chrome tab search shortcut
This commit is contained in:
@@ -110,6 +110,7 @@ const ArchivedTasks = () => {
|
||||
// Ctrl/Cmd + A to select all
|
||||
if (
|
||||
isHoldingCmdOrCtrl &&
|
||||
!event.shiftKey &&
|
||||
event.key === 'a' &&
|
||||
!['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName)
|
||||
) {
|
||||
|
||||
@@ -379,6 +379,7 @@ const MyChores = () => {
|
||||
// Ctrl/Cmd + A to select all - works both in and out of multi-select mode
|
||||
else if (
|
||||
isHoldingCmdOrCtrl &&
|
||||
!event.shiftKey &&
|
||||
event.key === 'a' &&
|
||||
!['INPUT', 'TEXTAREA'].includes(document.activeElement.tagName)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user