fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Missing Rocket Icon

Open smoralesd opened this issue 9 years ago • 6 comments

Bug Report

Using ms-Icon--Rocket doesn't render the Rocket icon

<i class="ms-Icon ms-Icon--Rocket" aria-hidden="true"></i>
  • Package version(s): 1.0.0 (commit hash: 635eb7474f7c71379dd52989736112786a9114aa)

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? No

Requested priority: Normal

Describe the issue:

Using ms-Icon--Rocket on an i tag doesn't properly render the Rocket icon (it doesn't render anything at all). I think the issues is on this file, where rocket definition is missing. In contrast, the rocket icon is being defined in the office-ui-fabric-core repo in this file

Actual behavior:

Rocket Icon not being rendered

Expected behavior:

Rocket Icon should be properly rendered

smoralesd avatar Sep 06 '17 21:09 smoralesd

Unclear how you're actually rendering icons. If you're using the ms-Icon--* class names, you're using fabric-core. If you're using the <Icon iconName='Rocket' /> component, then yes, that would likely be fixed in fabric-react 5.0.0.

Can you elaborate how you're rendering the icons?

dzearing avatar Sep 08 '17 02:09 dzearing

I tried two ways, using i tag

<i class="ms-Icon ms-Icon--Rocket" aria-hidden="true"></i>

and using the Pivot + PivotItem components

<Pivot>
    <PivotItem linkText='My Files' itemIcon='Rocket'>
        <Label>Pivot #1</Label>
    </PivotItem>
</Pivot>

Both ways work if I use, let's say, "Emoji2" or "Globe". And both fail if I use the "Rocket".

smoralesd avatar Sep 08 '17 16:09 smoralesd

@smoralesd Could be you have an older version of fabric and this is a new icon. Could you try updating to the latest version 4.43.0 and see if you can get the Rocket icon? I had older version where I couldn't find the Rocket icon, but I was able to get it after I update. Someone indirectly asked me the same thing today and I have a feeling that was you 😄

@dzearing btw I also had the same guess like @smoralesd that the Rocket icon isn't listed here. Turned out it doesn't matter once I updated to 4.43.0, but maybe you meant to have new icons listed there?

chryw avatar Sep 08 '17 22:09 chryw

@chryw We're currently using 4.35.1003. I'll try the update and see if that fix my issue. Thanks for your help.

smoralesd avatar Sep 11 '17 16:09 smoralesd

@chryw Updated to version 4.45.1 but still doesn't work. I found some other missing icons e.g TestBeaker. Not sure if I'm missing some steps or they are really missing.

smoralesd avatar Sep 18 '17 17:09 smoralesd

@smoralesd This has been fixed in Fabric 5, please reply if any issues remain

erichdev avatar Oct 16 '17 18:10 erichdev