LinearGradient id for svg icons are not unique #10647
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
LinearGradient id for svg icons are not unique.
Icons that use a gradient id must have a unique linearGradient id
after assembly or in development mode, ids look like a, b, c within one icon, that is, if you use several icons on a page, their gradients will intersect.
this happens when using inline icons
Reproducible demo
No response
Steps to reproduce
1 Icons should have gradients and linearGradient id with links to them.
2 Import icons into the project and use inline.
Expected behavior
linearGradient id should not be modified or should be done correctly, there should not be the same id between different icons
Actual behavior
linearGradient id of icons looks like a,b,c and is repeated between different icons
Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: