From 3d5580865a7c38bc25e93c43cb051e53adf1f8a1 Mon Sep 17 00:00:00 2001 From: Predrag Klepic <60631598+Klepic95@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:15:01 +0200 Subject: [PATCH] Query Results no longer blocked for clicking/copying content (#1537) Co-authored-by: Predrag Klepic --- src/Explorer/Controls/Editor/EditorReact.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Explorer/Controls/Editor/EditorReact.tsx b/src/Explorer/Controls/Editor/EditorReact.tsx index 53ba3e106..4b805dfc5 100644 --- a/src/Explorer/Controls/Editor/EditorReact.tsx +++ b/src/Explorer/Controls/Editor/EditorReact.tsx @@ -31,6 +31,13 @@ export class EditorReact extends React.Component { + const suggestionWidget = this.editor?.getDomNode()?.querySelector(".suggest-widget") as HTMLElement; + if (suggestionWidget) { + suggestionWidget.style.display = "none"; + } + }, 100); } public componentDidUpdate(previous: EditorReactProps) {