Skip to content

revealjs: Simple Browser preview resets to title slide on re-render (VSCode) #14184

@maikol-solis

Description

@maikol-solis

Bug description

When previewing a RevealJS presentation via the Simple Browser in VSCode, navigating away from the title slide and then saving/editing the .qmd file causes the preview to reset to slide 1 (title slide), losing the current slide position.

Steps to reproduce

  1. Open a .qmd file with format: revealjs in VSCode.
  2. Run Preview. Simple Browser opens on the title slide.
  3. Navigate forward to any slide (e.g., slide 3).
  4. Edit the .qmd file and save.
  5. Quarto re-renders, and the Simple Browser goes to slide 1.

Actual behavior

The preview reloads to slide 1 (title slide) after every re-render, regardless of which slide was active before the save.

Expected behavior

The Simple Browser should preserve the current slide position after a hot-reload/re-render, so the author remains on the slide they were editing.

Your environment

  • Vscode 1.110.1
  • MacOS: Sequioa 15.7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-reproIssues that are blocked until reporter provides an adequate reproductionpreviewissues related to the `preview` commandrevealjsIssues with the revealjs format

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions