slidev icon indicating copy to clipboard operation
slidev copied to clipboard

the bug of export with option '--with-clicks'

Open zqhexor opened this issue 3 years ago • 1 comments

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:

  1. 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>
  1. 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

zqhexor avatar Jul 14 '22 07:07 zqhexor

Hi, I don't think animation works in PDF, so you need 3 pages to show it.

imyuanx avatar Aug 17 '22 02:08 imyuanx

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.

stale[bot] avatar Oct 17 '22 03:10 stale[bot]