[✅ Solved] Playing media in components bug

There’s a weird bug when playing media (animated icons) inside components.

Each menu item has an animated icon that should start playing when selected. When selecting another item, the previous animation should reset to 0:00 and stop.

However, this only works correctly if the first animation has completely finished playing.

If I switch to another item before the previous animation has stopped, both animations start playing from the beginning.

As shown in the attached video, there should only ever be one spinner visible, but when clicking through the list quickly, multiple spinners start playing in sync.



Screen Recording 2025-10-31 at 14.11.53.mov