Info
- Operating System: Windows 10
- Node Version: 12.18.3
- Browser Name and Version: Chrome 89
Type
Expected Behavior
For example when there are total 8 pages and one page has 3 fragments, it should generate total 11 pages.
Actual Behavior
It discards last 3 pages and generates only 8 pages.
How can we reproduce the behavior?
create a presentation with fragments and try to generate pdf
Problematic code
@fusuma/task-pdf/src/index.js has following code to guess the number of total slides which does not count fragments.
const totalSlidesNum = await page.evaluate(
() => Array.from(document.querySelectorAll('.swiper-slide')).length
);