The music player does not pause the currently playing track when the user clicks the pause button in the player drawer. The music continues to play, indicating a state synchronization issue within the MusicPlayer.jsx component.
Steps to Reproduce
Play any song from the search results or a playlist.
Click on the floating player button in the bottom-right corner to open the music player drawer.
Click the pause button.
Expected Behavior
The music should pause immediately, and the pause icon should change to a play icon.
Actual Behavior
The music continues to play without interruption. The UI might briefly flicker, but the isPlaying state appears to be immediately reset to true.
The music player does not pause the currently playing track when the user clicks the pause button in the player drawer. The music continues to play, indicating a state synchronization issue within the MusicPlayer.jsx component.
Steps to Reproduce
Play any song from the search results or a playlist.
Click on the floating player button in the bottom-right corner to open the music player drawer.
Click the pause button.
Expected Behavior
The music should pause immediately, and the pause icon should change to a play icon.
Actual Behavior
The music continues to play without interruption. The UI might briefly flicker, but the isPlaying state appears to be immediately reset to true.