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

Loading only specific icons using icon_names parameter does not work properly when using the table icon #1834

Open
Warwizza opened this issue Nov 8, 2024 · 4 comments

Comments

@Warwizza
Copy link

Warwizza commented Nov 8, 2024

I'm trying to limit the loaded icons by adding the ones I'm using to the icon_names parameter in the URL as shown in the examples in the docs.
This does not work properly when I add the 'table' icon. The table icon and the one that comes after that are both not displayed.
See this CodePen as an example,

Reproduction steps:

  1. Open the CodePen above. You will see the timer and visibility icon are displayed but table and timeline are not
  2. When you remove the table from the icon_names parameter the timeline icon will also display
  3. When you add table back and remove timeline, the timer icon will no longer be displayed
  4. When you comment the first link element and uncomment the one below (which will load all icons) all 4 icons will show up
@stones
Copy link

stones commented Nov 25, 2024

I have a similar, though slightly different issue where if I add 'thumb_up', 'timeline' or 'trending_up' to my icon_names, 'star' stops working.

Adding 'volcano' isn't an issue

@hlev
Copy link

hlev commented Nov 26, 2024

Same here for the &icon_names=airport_shuttle,directions_car,travel
Only travel is delivered in the font pack, neither of the ones with an underscore in the name

@Remiscan
Copy link

I have the same issue when using &icon_names=add,stack,store,undo, "stack" and "store" do not work.
But if I add "stacks", then they all work: &icon_names=add,stack,stacks,store,undo.

@Hernando-sys
Copy link

i had a similar problem that got solved by alphabetically ordering the parameters

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

5 participants