Left Column: Fix non-interactive inputs

This commit is contained in:
Alexander Zinchuk 2023-10-31 15:06:11 +01:00
parent d48f9ca66a
commit eff5a2cd03

View File

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