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

Warning: Invalid DOM property fill-rule. Did you mean fillRule? #603

Closed
sabreu-teknorix opened this issue Sep 27, 2023 · 9 comments · Fixed by #604
Closed

Warning: Invalid DOM property fill-rule. Did you mean fillRule? #603

sabreu-teknorix opened this issue Sep 27, 2023 · 9 comments · Fixed by #604

Comments

@sabreu-teknorix
Copy link

I am getting this warning in the console
image

localpath added a commit to localpath/ant-design-icons that referenced this issue Oct 8, 2023
Fixes ant-design#603 Invalid DOM props `fill-rule`
@localpath
Copy link
Contributor

@sabreu-teknorix submitted a PR against this invalid prop

localpath added a commit to localpath/ant-design-icons that referenced this issue Dec 12, 2023
Fixes ant-design#603 Invalid DOM props `fill-rule`
@linround
Copy link

When will it be fixed?

@vryzhova
Copy link

vryzhova commented Feb 7, 2024

@localpath Will it be fixed in version "@ant-design/icons": "4.0.0"?) And when?)

@RobbertWolfs
Copy link

its also on other icons..

image

@afc163
Copy link
Member

afc163 commented Feb 21, 2024

@RobbertWolfs Could you provide a codesandbox reproduce?

@localpath
Copy link
Contributor

@afc163 I opened a PR already for this fix. You can see here the SVG is incorrectly implemented not using JSX prop syntax, rather a mix of JSX and HTML syntax

https://github.com/ant-design/ant-design-icons/pull/604/files#diff-0fc7bc4d89c25c35eb2e9992006a736c290c47643fca45f5153c057778986c27

@afc163
Copy link
Member

afc163 commented Feb 23, 2024

@localpath Could you provide a codesandbox reproduce?

@RobbertWolfs
Copy link

@afc163 As you can see we just have a basic react + vite setup with ant design installed and when you open the console you see the same issue

https://codesandbox.io/p/devbox/fervent-minsky-skhhlk

image

And as you can see its on multiple icons

image

@diegonc
Copy link

diegonc commented Jul 30, 2024

I come here to report this issue for icon ExportOutlined 😕 and ping for the status obviously

image

afc163 pushed a commit that referenced this issue Sep 15, 2024
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

Successfully merging a pull request may close this issue.

7 participants