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

feature: Disable optimized sprites #217

Open
preetamslot opened this issue Mar 29, 2024 · 1 comment
Open

feature: Disable optimized sprites #217

preetamslot opened this issue Mar 29, 2024 · 1 comment

Comments

@preetamslot
Copy link

What version of astro-icon are you using?

No response

Astro Info

latest

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When I use the same icon multiple times, but the first icon is in a vue component that transforms the icon, all icons are affected.

example. Social icons in a hidden menu, Now footer social icons only show when the menu is open (visible).

Arrow icon in faq, all icons rotate when the first faq item is open.

What's the expected result?

I would like that the sprite is not affected by the state of the first icon OR that I can disable optimized sprites for an icon.

Link to Minimal Reproducible Example

https://

@hrvstr
Copy link

hrvstr commented Apr 5, 2024

This is already possible with the is:inline directive.

#200

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