bugfix: Removve redundant content so that the textarea content in the replay will no longer appear repeatedly.#1326
bugfix: Removve redundant content so that the textarea content in the replay will no longer appear repeatedly.#1326YanJie-001 wants to merge 1 commit intorrweb-io:masterfrom
Conversation
… replay will no longer appear repeatedly.
|
|
See my comments in #1301 |
|
Ignoring the current failing tests which are related to I imagine we'd want to add a <textarea> one of the test cases in packages/rrweb/test/record.test.ts in order to show that the repeated value is a problem. |
|
As currently implemented, this PR modifies the tests as follows: This is less correct in that if the latter is rendered in HTML, then the value attribute is ignored (the |
|
I'm gonna close this one as #1351 goes into much more detail than this one by fixing at recording time, but also fixing for existing recordings where the bad data is already in the event (like this fix does) |
|
Forgot to say: thank you for this PR, I wouldn't have made my one if I could not see your intended changes! |
Removve redundant content so that the textarea content in the replay will no longer appear repeatedly.
To fix [Bug]: Textarea shows default value twice in replay #1301