From eff5a2cd0342d56de7cb39212922ba92216b6465 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Tue, 31 Oct 2023 15:06:11 +0100 Subject: [PATCH] Left Column: Fix non-interactive inputs --- src/util/captureEvents.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/captureEvents.ts b/src/util/captureEvents.ts index b3c594e26..ecb0439fc 100644 --- a/src/util/captureEvents.ts +++ b/src/util/captureEvents.ts @@ -136,6 +136,10 @@ export function captureEvents(element: HTMLElement, options: CaptureOptions) { return; } + if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA') { + return; + } + if ( excludedClosestSelector && (target.matches(excludedClosestSelector) || target.closest(excludedClosestSelector)) ) {