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)) ) {