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

SVG does not appear to draw if not visible #134

Open
aidanlister opened this issue Nov 24, 2024 · 1 comment
Open

SVG does not appear to draw if not visible #134

aidanlister opened this issue Nov 24, 2024 · 1 comment

Comments

@aidanlister
Copy link

Even though a height / width is specified I believe the component is using viewport information to try and render? This means if it's in a hidden div, it won't render anything. When the div is then made visible, the SVG element takes up the space but doesn't re-render.

@jaywcjlove
Copy link
Member

I don’t fully understand the issue. Could you provide an example to reproduce the error and help me identify where the problem occurs? @aidanlister

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

No branches or pull requests

2 participants