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

fix: dimensions not being applied #117

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

billyvg
Copy link
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 mydea and a team October 19, 2023 21:49
Copy link
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
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
13 checks passed
@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
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