fix: Make some events expllicitly active to avoid console warnings (#8757)

Avoid chrome/edge reporting of by-default blocking event handlers
This commit is contained in:
Márk Tolmács
2024-11-21 15:18:18 +01:00
committed by GitHub
parent 840f1428c4
commit d21e0008dd
2 changed files with 34 additions and 14 deletions

View File

@@ -294,6 +294,7 @@ export const SearchMenu = () => {
// as well as to handle events before App ones
return addEventListener(window, EVENT.KEYDOWN, eventHandler, {
capture: true,
passive: false,
});
}, [setAppState, stableState, app]);