Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [RUMF-1240] fix attribute mutating to an empty value #1512

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Apr 25, 2022

Motivation

Fix HTML elements incorrect visual state when replay.

The SDK incorrectly sent empty attribute mutations as null. But null is also used for removed attributes, so instead setting the attribute to an empty string, the player removes the attribute, which may have an impact on the visual state of some elements.

Changes

To fix the issue, this PR sends empty attribute mutations as an empty string instead.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested review from a team as code owners April 25, 2022 15:58
@BenoitZugmeyer BenoitZugmeyer merged commit 97aecd9 into main Apr 26, 2022
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/fix-empty-attribute-mutation branch April 26, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants