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

Present Stucked in Presenter Mode When Switching Slide Page #18

Open
hehaorui opened this issue Dec 22, 2023 · 1 comment
Open

Present Stucked in Presenter Mode When Switching Slide Page #18

hehaorui opened this issue Dec 22, 2023 · 1 comment
Assignees

Comments

@hehaorui
Copy link

hehaorui commented Dec 22, 2023

The bug occurs in presenter mode. When switching slide page back and forth rapidly in presenter mode, the brower will soon stuck and unable to switch between slide pages any more. Though hitting left or right key do change the url displayed in the browser address bar, it still remains on the same slide page. The only method to fix it is refreshing the browser.
This bug doesn't occur in other slidev theme, and it will occur both in firefox and chromium.
I'm wondering whether the bug stems from the pagination component.

UPD: I've tried to remove the pagination part in the global-top.vue file, and the bug no longer occurs, which confirms that the bug stems from the pagination component.

@alexanderdavide
Copy link
Owner

Hey @hehaorui, thanks for using the theme and reporting this issue!

The Pagination component merely is a convenience component that makes use of slidev's built-in components SlideCurrentNo and SlidesTotal.

Please test a new slidev project without slidev-theme-academic, using the same slidev version as in your erroneous project, add the just mentioned components and report back whether the issue still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants