This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Closing the global audio player does not stop audio playback #775
Closed
Description
Description
Closing the global audio player does not stop audio playback. When you close it, the audio continues to play.
Reproduction
- Go to
/search/audio?q=birds
with a small width viewport and play an audio - In the global player, click the
x
to close the global player - Note the audio continues to play
Expectation
The audio should stop playing.
At least I think so. It seems counter-intuitive to me that closing the global audio player doesn't stop the playback.
Additional context
This should be a matter of calling activeAudio.value.pause()
in the click handler for the close button.
Found while testing #773
Resolution
- 🙋 I would be interested in resolving this bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment