Skip to content

Slidev twoslash popover keep being open between slides #2202

Open
@nirtamir2

Description

@nirtamir2

Describe the bug

Slidev twoslash popover keep being open between slides

Minimal reproduction


/```
const a = 5;
//       ^?
/```

---

# Other slide 

---

Image

Image

Steps to reproduce the behavior:

  1. Go to a slide with a twoslash // ?^ to show the type information. A popover opens with the type information.
  2. Click the right arrow to go to the next slide
  3. See the same popover not closing

You can use https://sli.dev/new to create a new project to reproduce the issue.

Environment

  • Slidev version: 51.2
  • Browser: Chrome
  • OS: MacOS

If you are using Slidev globally (i.e. npx slidev or npm i -g slidev), please try to reproduce the issue in a local project (i.e. npm create slidev@latest).

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions