mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-17 11:14:23 +01:00
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:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user