10000 Slide transitions leads to empty slides · Issue #1282 · slidevjs/slidev · GitHub
[go: up one dir, main page]

Skip to content
Slide transitions leads to empty slides #1282
@Giuseppe499

Description

@Giuseppe499

Describe the bug
When slide transitions, such as

---
transition: slide-left
---

are enabled, an issue arises while scrolling through the presentation. If I navigate too quickly forward and backward through slides, the slides become empty. Unfortunately, these empty slides do not reset even if I change to another slide, resulting in a broken presentation.

The broken transitions are:

  • slide-left
  • slide-right
  • slide-up
  • slide-down

I tested it in Firefox and Chromium.

These transitions seem to work:

  • fade
  • fade-out

To Reproduce
Steps to reproduce the behavior:

  1. Enable slide transitions using the following configuration:
---
transition: slide-left
---
  1. Change slides quickly by going forward and backward without waiting animations to complete.
  2. Eventually you will get empty slides
  3. Attempt to reset the empty slides by changing to another slide.
  4. The slide should still be empty

Desktop:

  • OS: Kubuntu 22.04
  • Browser: Firefox 122.0 (64-bit)
  • Slidev version: v0.47.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0