slidev
slidev copied to clipboard
the bug of export with option '--with-clicks'
Describe the bug when we export our slidev with option '--with-clicks', the number of page is not according to the frontmatter's clicks.
To Reproduce Steps to reproduce the behavior:
- for example: a page
---
clicks: 2
---
<div v-click-hide="1">
item1
</div>
<div v-click-hide="2" v-click="1">
item2
</div>
<div v-click="2">
item3
</div>
- when we export our slidev with option '--with-clicks', the number of page is 3, but in fact we need 2 pages
Desktop (please complete the following information):
- OS: windows 11
- Browser: chrome
- Slidev version: 0.34.3
Hi, I don't think animation works in PDF, so you need 3 pages to show it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.