-
Notifications
You must be signed in to change notification settings - Fork 107
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
SVG Fails to display properly #1064
Comments
It seems that the only way it displays properly is from the initial server side render. prerender_ mySvg mySvg also recreates the issue |
#828 seems relevant |
thanks @alexfmpe, based on what I saw with the outdated reflex-dom-SVG package and some investigation, I wouldn't be surprised if the workaround in #828 would work here I just made the SVG in figma instead but hopefully I can test this soon. Feels like this should become part of FAQ for reflex-dom as the behavior is relatively surprising, I wonder if reflex-dom-contrib has solutions yet |
Fail State:
Should look like:
given the code:
Note: the comment in the code made no difference with or without
This happens on Firefox and Chrome ( which is all that I've tested )
this page is deployed here, to test out the behavior I describe next ( https://aceinterviewprep.app/landing/base )
On initial request to get the page it renders perfectly fine however if you click on any link (eg. login) and then hit the back button or click solutions > coding bootcamps (or any) then click the Ace logo to go back then you will see the top image
I have no understanding of why this is happening but even if my code is funky, it should still render the same each time right?
The text was updated successfully, but these errors were encountered: