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(replay): Fix svgs not getting unblocked #7132

Merged
merged 2 commits into from Feb 10, 2023

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Feb 10, 2023

This fixes an issue found in #7020 where unblock was not working for SVGs. This was due to our default media selectors including svg child elements. rrweb will handle blocking these as needed when the parent SVG is blocked.

@billyvg billyvg changed the base branch from develop to feat-replay-add-privacy-test February 10, 2023 00:23
@billyvg billyvg changed the title fix replay svg unblock overridden fix(replay): Fix svgs not getting unblocked Feb 10, 2023
@billyvg
Copy link
Member Author

billyvg commented Feb 10, 2023

Requires #7055

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.07 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 62.2 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.7 KB (-0.02% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 55.34 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.43 KB (0%)
@sentry/browser - Webpack (minified) 66.78 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.46 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.85 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.99 KB (-0.01% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.24 KB (-0.01% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 42.26 KB (-0.03% 🔽)
@sentry/replay - Webpack (gzipped + minified) 36.69 KB (-0.03% 🔽)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 59.93 KB (-0.02% 🔽)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 53.48 KB (-0.03% 🔽)

@billyvg billyvg marked this pull request as ready for review February 10, 2023 00:54
@billyvg billyvg requested review from Lms24 and mydea February 10, 2023 00:54
Copy link
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

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

Def. makes sense!

Base automatically changed from feat-replay-add-privacy-test to develop February 10, 2023 14:34
This fixes an issue found in #7020 where `unblock` was not working for SVGs. This was due to our default media selectors including svg child elements. rrweb will handle blocking these as needed when the parent SVG is blocked.
@billyvg billyvg force-pushed the fix-replay-svg-unblock-overridden branch from d3d164f to 5232cef Compare February 10, 2023 14:41
@billyvg billyvg merged commit 93c4759 into develop Feb 10, 2023
@billyvg billyvg deleted the fix-replay-svg-unblock-overridden branch February 10, 2023 15:37
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.

None yet

2 participants