Skip to content

The timer bar at the top of the screen does not appear to stop #2399

@toreis-up

Description

@toreis-up

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

  1. Fork the sli.dev template on new Slidev
  2. Upgrade Slidev to v52.11.0
  3. Add 'duration' props on headmatter
  4. Open the Speaker mode
  5. Start the timer
  6. 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

Image

Environment

  • Slidev version: v52.11.0
  • Browser: Firefox
  • OS: Win11

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions