You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for the public code. I found it when trying to export SVG from React Flow.
I started with a new template which fetched the new @xyflow/react path. This had the downside of the theming to break: the charts would not have boxes around them, and lines.
After some painstaking troubleshooting, I found that the new themes use CSS variables to control the styles. The iframe code does not have the parent theming class applied, but adding the following fixes that:
Hi there,
First off, thanks for the public code. I found it when trying to export SVG from React Flow.
I started with a new template which fetched the new
@xyflow/react
path. This had the downside of the theming to break: the charts would not have boxes around them, and lines.After some painstaking troubleshooting, I found that the new themes use CSS variables to control the styles. The iframe code does not have the parent theming class applied, but adding the following fixes that:
This code is in the iframe listener code.
Thought to save you some time should you wish to upgrade!
The text was updated successfully, but these errors were encountered: