render bug
See original GitHub issueHi, 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" /> Please wait...</span> : <span><FAIcon icon="save" className="icon-1-5x icon-middle" /> {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:
- Created 6 years ago
- Reactions:3
- Comments:16 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.This should be resolved now. Let us know if it’s still a problem.