ProgressBar and current-time labels break with custom root node
Closed this issue · 1 comments
kunaljaypatel commented
ProgressBar and current-time labels break when you change the root node via getContainer(). My guess is that the ref to these items break.
How to reproduce:
- Change the root node via getContainer to a different node that gets created at run-time via document.querySelector().
- Note that when you click play, the audio plays but the current-lime label doesn't update with the current position in the track as its playing. And, the progressBar does not increment itself.
Edit: After reviewing the closed issues, this issue was closed here, but it was never fixed.
kunaljaypatel commented
nevermind. fixed it with minimal changes.