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
|
// 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)
|
||||||
) {
|
) {
|
||||||
|
|||||||
@@ -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)
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user