mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-16 14:50:15 +08:00
dbeaver/pro#7111 fix: doubled hot keys handler (#3809)
This commit is contained in:
@@ -45,7 +45,7 @@ export const CaptureView = observer<React.PropsWithChildren<ICaptureViewProps>>(
|
||||
useHotkeys(
|
||||
keys,
|
||||
(event, handler) => {
|
||||
if (!state.reference?.contains(document.activeElement)) {
|
||||
if (!event.isTrusted || !state.reference?.contains(document.activeElement)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user