Due to the artworkImgLoaded function only being called in the onload of the activeTrackCard snippet, mobile view doesn't trigger the colour update as the img element is hidden.
A possible solution could be to move the artworkImgLoaded call to the TrackCard component by passing the function to the component as a prop, since TrackCard is shown in all views via the queuePanel snippet.
Due to the
artworkImgLoadedfunction only being called in theonloadof theactiveTrackCardsnippet, mobile view doesn't trigger the colour update as theimgelement is hidden.A possible solution could be to move the
artworkImgLoadedcall to theTrackCardcomponent by passing the function to the component as a prop, sinceTrackCardis shown in all views via thequeuePanelsnippet.