Skip to content
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

Quick overview opening slowly on larger presentations #1889

Open
jakobkordez opened this issue Oct 2, 2024 · 2 comments
Open

Quick overview opening slowly on larger presentations #1889

jakobkordez opened this issue Oct 2, 2024 · 2 comments

Comments

@jakobkordez
Copy link
Contributor

Quick overview takes a few seconds to open on large presentations (400 slides).
This is a big problem when I want to quickly jump to a slide.

This problem occurs because a very large amount of DOM elements need to be added during opening.

This problem was fixed in #1610 but was never merged.

Is there a possibility of this being merged if I resolve the conflicts or should I just create a fork for my personal use?

@KermanX
Copy link
Member

KermanX commented Oct 2, 2024

Anthony wrote #1843 after that. Is that helpful?🤔

@jakobkordez
Copy link
Contributor Author

It does not work. I added the overviewSnapshots: true to the frontmatter but opening the quick overview takes a few seconds then my console starts spamming [Slidev] Snapshot captured for slide xxx and a bunch of [Vue warn] warnings. All of the slides get replaced with the symbols for missing images.
Even after all the slides have been replaced with missing images, opening and closing the quick overview takes a second, compared to the instantaneous opening and closing in my implementation.
Running build and then serving dist/ does not make a difference.

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

2 participants