From e7bdbed5bc859d8e4304129ce5362b278c78c554 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Sun, 5 Oct 2025 01:46:54 +0200 Subject: [PATCH] fix --- src/dashboard/Data/Browser/DataBrowser.react.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/dashboard/Data/Browser/DataBrowser.react.js b/src/dashboard/Data/Browser/DataBrowser.react.js index ff1127d46..0d8f9562d 100644 --- a/src/dashboard/Data/Browser/DataBrowser.react.js +++ b/src/dashboard/Data/Browser/DataBrowser.react.js @@ -425,6 +425,17 @@ export default class DataBrowser extends React.Component { if (this.props.disableKeyControls) { return; } + + // Check if the event target is an input or textarea + const target = e.target; + const isInputElement = target && (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA'); + + // Ignore all keyboard events when focus is on input/textarea elements + // This allows normal text editing behavior in filter inputs + if (isInputElement) { + return; + } + if (e.keyCode === 67 && (e.ctrlKey || e.metaKey)) { // Check for text selection FIRST const selection = window.getSelection();