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(react-charting): use inline styles in SVG export for better compatibility #33713

Merged
merged 4 commits into from
Jan 29, 2025

Conversation

krkshitij
Copy link
Contributor

@krkshitij krkshitij commented Jan 23, 2025

This PR resolves an issue where SVG export fails on platforms that do not support XML DOMParser by replacing embedded stylesheet within SVG (which rely on DOMParser) with inline styles applied directly to the elements.

Copy link

github-actions bot commented Jan 23, 2025

📊 Bundle size report

✅ No changes found

Copy link

Pull request demo site: URL

@krkshitij krkshitij changed the title [POC] Alternative approach to making CSS inline in SVG fix(react-charting): use inline styles in SVG export for better compatibility Jan 29, 2025
@krkshitij krkshitij marked this pull request as ready for review January 29, 2025 05:21
@krkshitij krkshitij requested a review from a team as a code owner January 29, 2025 05:21
Copy link
Contributor

@AtishayMsft AtishayMsft left a comment

Choose a reason for hiding this comment

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

:shipit:

@krkshitij krkshitij merged commit 111bf93 into microsoft:master Jan 29, 2025
16 checks passed
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