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 files with declared width and height render incorrectly #333

Open
ohmycthulhu opened this issue Apr 18, 2022 · 1 comment
Open

SVG files with declared width and height render incorrectly #333

ohmycthulhu opened this issue Apr 18, 2022 · 1 comment

Comments

@ohmycthulhu
Copy link

When SVG file has viewBox, width, and height attributes, manipulating using CSS styles are impossible (path is not contained in svg element). This behavior started after upgrading from 2.1.0 to 3.0.3.

When all attributes are present:
image
image

When only viewBox is present:
image
image

@kukagg
Copy link

kukagg commented Jun 17, 2022

Can confirm this is a bug. Any pointers @boopathi?

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