Skip to content

fix(web): bump react-fontawesome so icon animations work#803

Merged
thelindat merged 1 commit into
overextended:mainfrom
WhereiamL:fix/notify-icon-animation
Jun 21, 2026
Merged

fix(web): bump react-fontawesome so icon animations work#803
thelindat merged 1 commit into
overextended:mainfrom
WhereiamL:fix/notify-icon-animation

Conversation

@WhereiamL

@WhereiamL WhereiamL commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

LibIcon maps the full set of Font Awesome v6 animation props — beat, fade, beatFade, bounce, shake, spin, spinPulse, spinReverse — but @fortawesome/react-fontawesome was pinned to ^0.1.19, which only supports the legacy spin and pulse props. Every other animation was silently dropped, so notify's iconAnimation (and any LibIcon animation) had no visible effect. This is the cause of #788.

Bumping @fortawesome/react-fontawesome to ^0.2.0 makes the wrapper honour all the animation props LibIcon already passes. @fortawesome/fontawesome-svg-core is already ^6.3.0, so the animation keyframes are present — only the React wrapper was too old.

Verified with a production web build (tsc && vite build) on react-fontawesome 0.2.6: it compiles cleanly and 0.2.x still types/accepts the pulse prop, so no existing usage regresses.

Closes #788

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

LibIcon maps the full set of Font Awesome v6 animation props (beat, fade,
beatFade, bounce, shake, spin, spinPulse, spinReverse), but
@fortawesome/react-fontawesome was pinned to ^0.1.19, which only supports the
legacy spin and pulse props. The other animations were silently dropped, so
notify's iconAnimation (and any LibIcon animation) had no effect.

Bump react-fontawesome to ^0.2.0 so all the animation props LibIcon already
passes are honored. fontawesome-svg-core is already ^6.3.0, so the animation
keyframes are present. Verified with a production web build (tsc + vite); 0.2.x
keeps the pulse prop, so no existing usage regresses.

Closes overextended#788
@thelindat thelindat merged commit d06c449 into overextended:main Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] iconAnimation Does not work on notify.

2 participants