Skip to content

fix: dimensions not being applied#117

Merged
billyvg merged 1 commit intosentry-v2from
fix-svg-dimension-attributes-missing
Oct 19, 2023
Merged

fix: dimensions not being applied#117
billyvg merged 1 commit intosentry-v2from
fix-svg-dimension-attributes-missing

Conversation

@billyvg
Copy link
Copy Markdown
Member

@billyvg billyvg commented Oct 19, 2023

Dimensions are not being properly applied when you seek to a position in the replay. Need to use setProperty, otherwise the style attributes get lost.

Dimensions are not being properly applied when you seek to a position in the replay. Need to use `setProperty`, otherwise the style attributes get lost.
@billyvg billyvg marked this pull request as ready for review October 19, 2023 21:49
@billyvg billyvg requested review from a team and mydea October 19, 2023 21:49
Copy link
Copy Markdown
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test to repro the bug would help avoid regressions here but shipping the fix asap also works for me

@billyvg
Copy link
Copy Markdown
Member Author

billyvg commented Oct 19, 2023

It actually is covered in sentry-javascript, but we missed it: https://github.com/getsentry/sentry-javascript/pull/8760/files#diff-c0b1773a4acdadc0e23d17df2f9c8a3d13be5a62e01dff6a79e894d58721a84eL174

I'll see how easy it is to add a test here since it'd be easier to spot.

@billyvg billyvg merged commit 84da5e3 into sentry-v2 Oct 19, 2023
@billyvg billyvg deleted the fix-svg-dimension-attributes-missing branch October 19, 2023 23:13
billyvg added a commit that referenced this pull request Oct 19, 2023
@mydea
Copy link
Copy Markdown
Member

mydea commented Oct 20, 2023

TODO: I guess we should also upstream this?

billyvg added a commit that referenced this pull request Oct 20, 2023
billyvg added a commit that referenced this pull request Oct 20, 2023
Dimensions are not being properly applied when you seek to a position in
the replay. Need to use `setProperty`, otherwise the style attributes
get lost.
billyvg added a commit that referenced this pull request Oct 20, 2023
billyvg added a commit that referenced this pull request Oct 20, 2023
Dimensions are not being properly applied when you seek to a position in
the replay. Need to use `setProperty`, otherwise the style attributes
get lost.
billyvg added a commit that referenced this pull request Oct 20, 2023
billyvg added a commit that referenced this pull request Apr 26, 2024
Dimensions are not being properly applied when you seek to a position in
the replay. Need to use `setProperty`, otherwise the style attributes
get lost.
billyvg added a commit that referenced this pull request Apr 26, 2024
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