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

Unexpected value meet parsing preserveAspectRatio attribute #10

Open
lmuehlboeck opened this issue Sep 8, 2024 · 4 comments
Open

Unexpected value meet parsing preserveAspectRatio attribute #10

lmuehlboeck opened this issue Sep 8, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@lmuehlboeck
Copy link

Hi,

when using the MdiIcon component a warning in firefox and an error in chrome appears.

Firefox: Unexpected value meet parsing preserveAspectRatio attribute.
Chrome: <svg> attribute preserveAspectRatio: Unrecognized enumerated value, "meet".

I think the solution would be to set the default value of the preserveAspectRatio prop of the MidIcon component e.g. to 'xMidYMid meet', instead of just 'meet'.

@ERPedersen ERPedersen self-assigned this Sep 12, 2024
@ERPedersen ERPedersen added the bug Something isn't working label Sep 12, 2024
@nahojj
Copy link

nahojj commented Oct 24, 2024

Any fix for this yet? I've got 200+ errors because of this bug.

@jjanaks12
Copy link

has there been any update regarding this bug?

@ItsMeDelanoDev
Copy link

Is the project dead or?

@jjanaks12
Copy link

jjanaks12 commented Dec 24, 2024

if it helps use preserveAspectRatio props on the MdiIcon component and add value "xMidYMid meet"

this solves the issue for example
<MdiIcon preserveAspectRatio="xMidYMid meet" size="12" icon="mdiLinkVariant" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants