Set userTriggered to false on Input attribute modifications (#1159)
* Set userTriggered to false on Input attribute modifications - the fact we are intercepting them via hook rather than an event suggests to me that they could well be programmatic * Create young-timers-grow.md
This commit is contained in:
5
.changeset/young-timers-grow.md
Normal file
5
.changeset/young-timers-grow.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"rrweb": bugfix
|
||||
---
|
||||
|
||||
For users of userTriggeredOnInput setting: also set userTriggered to false on Input attribute modifications; this was previously empty this variant of IncrementalSource.Input
|
||||
@@ -453,7 +453,10 @@ function initInputObserver({
|
||||
{
|
||||
set() {
|
||||
// mock to a normal event
|
||||
eventHandler({ target: this as EventTarget } as Event);
|
||||
eventHandler({
|
||||
target: this as EventTarget,
|
||||
isTrusted: false, // userTriggered to false as this could well be programmatic
|
||||
} as Event);
|
||||
},
|
||||
},
|
||||
false,
|
||||
|
||||
Reference in New Issue
Block a user