Skip to content

Changing the zoom level will break the transition animation #2181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
WvW-vOiDs opened this issue May 22, 2025 · 0 comments
Open

Changing the zoom level will break the transition animation #2181

WvW-vOiDs opened this issue May 22, 2025 · 0 comments

Comments

@WvW-vOiDs
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant