FortAwesome / Font-Awesome

The iconic SVG, font, and CSS toolkit
https://fontawesome.com
Other
73.53k stars 12.2k forks source link

Icon is loaded with data-prefix "fal" but seconds after changed to "fas" #20247

Open hmendezm opened 3 months ago

hmendezm commented 3 months ago

Bug description

I am using a kit and for one particular icon that I stacked, it happens a weird thing and only happens in production. The icon is loaded correctly first and seconds after the data-prefix is replaced with "fas". So all icons become white. I do not do any manipulation.

image

Reproducible test case

No response

Screenshots

No response

Font Awesome version

6.x

Serving

Kit

Implementation

SVG+JS

Browser and Operating System

Chrome Version 125.0.6422.142 (Official Build) (64-bit)

Web bug report checklist

robmadole commented 3 months ago

Hi @hmendezm. I wasn't able to reproduce this with just a simple example. Are you able to share your production site or an example that shows the issue?