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

Wrong SlideCurrentNo on slides export #1935

Open
Chadys opened this issue Nov 4, 2024 · 0 comments
Open

Wrong SlideCurrentNo on slides export #1935

Chadys opened this issue Nov 4, 2024 · 0 comments

Comments

@Chadys
Copy link

Chadys commented Nov 4, 2024

Describe the bug

When exporting a presentation to pdf, the component SlideCurrentNo print "1" for every slides

Minimal reproduction

Steps to reproduce the behavior:

  1. have a presentation with several pages
  2. Add the following to a file global-top.vue
<template>
  <footer class="absolute bottom-0 right-0 m-4"><small><SlideCurrentNo/>/<SlidesTotal/></small></footer>
</template>
  1. Export using command slidev export

Every slides will have 1/X written in their bottom right corner instead of the correct current page number

Environment

  • Slidev version: v0.50.0-beta.5
  • Browser: not pertinent, export issue
  • OS: MacOS Sonova 14.5
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

1 participant