slidev
slidev copied to clipboard
The timer bar at the top of the screen does not appear to stop
Describe the bug
The timer bar at the top of the screen does not appear to stop.
When I resume playback, the progress bar resumes moving from where it paused, so it really seems to be just a visual issue.
Minimal reproduction
- Fork the sli.dev template on new Slidev
- Upgrade Slidev to v52.11.0
- Add 'duration' props on headmatter
- Open the Speaker mode
- Start the timer
- Pause the timer = The timer bar on top is still running
On resume, the timer bar is back to right position.
The repro is available on https://stackblitz.com/edit/github-pxxrbfrc
Environment
- Slidev version: v52.11.0
- Browser: Firefox
- OS: Win11