Open lebiru opened 9 years ago
Can you do us a favor and try with versions 1.0.14 / 1.0.15 / 1.0.16 ?
There have been some fixes going on that may or may not have caused this.
Cool gif BTW :+1:
This seems to be an issue with Font Awesome, as their class selector .fa
has an attribute transform: translate(0,0);
. Disabling this field perserves the backface-visibility.
Interesting... Thank you for doing the research.
I found these two issues that might be related... Annoying that now it works in Firefox but not in Chrome when it used to be the exact opposite...
Back face always visible on Chrome #39 Font-awesome icons not hidden on firefox #31
It seems that for now reverting to v1.0.15 might be a solution for you... I'm hoping we can come up with a fix that works everywhere.
works for me :+1: thanks!
Glad it solves it for you, but really you should not be left stuck on v1.0.15, so re-opening.
oops, you are right. :sheep:
for what it's worth, I've reverted to v16 and manually inserted transform: inherit
on font awesome divs.
So what used to be:
<div class="fa highlightItem fa-2x fa-user"></div>
is now
<div class="fa highlightItem fa-2x fa-user" style="transform: inherit;"></div>
Hope that helps.
I'm having trouble reproducing this, could you produce the same thing in something like jsfiddle?
I'm surprised this is an issue again given that the translate(0,0) was removed in fa https://github.com/FortAwesome/Font-Awesome/issues/6023. Are you using the newest version of fa?
@lebiru
http://jsfiddle.net/lebiru/uy6saao2/
I am putting the font awesome icon inside of a table row.
@lebiru Okay what i'm able to reproduce from that is the issue appearing specifically when the fa icon is within a table and uses the fa-spin class. fa-spin uses an animation which i suspect is what's causing the issue, not yet sure how that can be dealt with. However, it doesn't look like your original examples had fa-spin and i can't reproduce this issue without the fa-spin class. Would you mind producing a fiddle of this occurring as shown in the original gifs? (Or are those actually somehow using fa-spin?).
http://jsfiddle.net/lebiru/o7qe0xLw/1/
Sure enough, if I do not use the spinner class, it behaves as expected.
I had a similar probably using elements that were floating. They would always show up (in my case, I am flipping over x-axis so the elements would show upside-down as well when they should be hidden). I applied @lebiru's CSS fix from Sept 24, '15 to the problematic elements and it solved it immediately.
Thank you for the awesome plugin!
I seem to have run into an issue where Font Awesome icons are displaying on the back of cards on Google Chrome.
Here is an example in gif form:
My card looks like this: