Skip to content

Changing the zoom level will break the transition animation #2181

Open
@WvW-vOiDs

Description

@WvW-vOiDs

Describe the bug

After changing the zoom level, the content after the page will overlap in advance when turning the page.

Image

Minimal reproduction

  1. Create ./slides.md :
---
transition: slide-left
---

# This is the first page

---
zoom: 0.5
---

# This is the second page

---
zoom: 1.5
---

# This is the third page
  1. Run slidev --open in terminal.
  2. See the error in browser.

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

Environment

  • Slidev version: 51.7.1
  • Browser: Edge
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions