Skip to content

Issue: Open Preview button stops working #738

Description

@antoninadert

Describe the bug
Preview button stops opening the Preview panel when we close the panel for the first time.
Restarting VS Code fixes the issue

To Reproduce

  • Open frontmatter dashboard (on Mac OS only ?)
  • run the server
  • Click 'Open Preview' button (it opens the preview panel)
  • Close the preview panel (full-screen code is visible on screen now, and preview panel is closed)
  • Try to 'Open Preview' again for the same post.
  • The preview does not open any more

Expected behavior
The preview re-opens again

** Additional context**
Issue on

Version: 1.85.2 (Universal)
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
Date: 2024-01-18T06:40:32.531Z (5 days ago)
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.2.0

using Astro currently

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions