question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, i import my fontawesome-all.js with a script tag on the head, then in my react component import the reac-fontawesome, all work grate but fails the render if i have a conditional to show different icons, in my deafult state i have the save icon, then on saving mode i have a spinning cog, (that works good) but when my saving status is false again my text button change correctly but the icon remains with the cog…

<button className="btn btn-primary" disabled={myProps.working} onClick={this._handleClick}>{myProps.working ? <span><FAIcon icon="cog" className="icon-spin-3x icon-1-5x icon-middle" />&nbsp;Please wait...</span> : <span><FAIcon icon="save" className="icon-1-5x icon-middle" />&nbsp;{myProps.text ? myProps.text : 'SAVE'}</span>}</button>

default (saving status false) : save -> works saving status true : cog -> works default again (saving status false) : still the cog icon

maybe im missing some thing, thanks in advance.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
robmadolecommented, Jan 23, 2018

OK, I’ve uncovered the root cause of this. @mlwilkerson this is going to take a compatibility fix in the main fontawesome lib. I’ll try to get to this tomorrow.

1reaction
robmadolecommented, Feb 15, 2018

This should be resolved now. Let us know if it’s still a problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Steven Dvornik (@render.bug) • Instagram photos and videos
650 Followers, 462 Following, 102 Posts - See Instagram photos and videos from Steven Dvornik (@render.bug)
Read more >
Render Bug - a thread in the Tracker forum - ComPADRE.org
Everytime I import a video on Tracker and I set the origin of axis, a render bug occurs, as you can see on...
Read more >
Fix export issues in Premiere Pro - Adobe Support
Fix issues in Adobe Premiere Pro that cause an "Error while compiling" error message when rendering or exporting.
Read more >
How can I fix this render bug? - Scripting Support - DevForum
This isn't really a render bug, it's because the camera is actually farther out than it appears. The FOV does not determine the...
Read more >
What is this rendering bug/effect called? When the visuals ...
It's not a bug, it's just saving performance by not clearing the render target between frames. It would be a waste because you'll...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found