We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c0bf61 commit 669c89eCopy full SHA for 669c89e
1 file changed
web/src/components/notifications/NotificationItemCard.tsx
@@ -74,7 +74,7 @@ export function NotificationItemCard({
74
)}
75
onClick={handleClick}
76
onKeyDown={(e) => {
77
- if (e.key === 'Enter' || e.key === ' ') {
+ if ((e.key === 'Enter' || e.key === ' ') && !(e.target as HTMLElement).closest('button')) {
78
e.preventDefault()
79
handleClick()
80
}
0 commit comments