question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PDF export ignores Appear component

See original GitHub issue

Hej,

I’ve been successfully using mdx-deck for my latest presentation, and it was a breeze! 🙏 Now I wanted to export it as a PDF in order to upload it.

The Problem

List elements (and potentially everything else) in <Appear /> is not rendered.

Expected Behavior

Every component in <Appear /> with index n yields a new page that renders all components up to and including index n.

How to reproduce?

import { Appear } from 'mdx-deck'

# I don't see the problem?

<ul>
  <Appear>
    <li>Not</li>
    <li>in</li>
    <li>PDF</li>
  </Appear>
</ul>
---
# The end
mdx-deck pdf pdf-issue.mdx

Open dist/presentation.pdf. It has only two pages, expected are five pages.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hxuanhungcommented, Oct 1, 2018

Hi, I’ve just fired a PR for it here #186. I simply launch Puppeteer with a specigic user-agent and check it in Appear.

0reactions
zceicommented, Nov 28, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve printing and PDF export errors in InDesign
Identify and resolve problems or errors while printing or exporting to PDF from InDesign.
Read more >
PDF Export Problems? Toggle Tagged PDF On and Off
I'm glad to read about pdf export problems here. My problem is that the pdfs that I sometimes create for others, can be...
Read more >
PDF Export ignores Layer group transparency and visiblity
Layer group transparency is ignored in PDF export. it works well in image export. ... Use tasks to break down this issue into...
Read more >
PDF Export Consistently Missing Elements - Ask the community
I'm having consistent issues with PDF export, where one or more elements is missing from exported PDFs. The missing elements are sometimes ...
Read more >
PDF export ignores certain layers and effects, outputs wrong ...
It depends on the case and what is required. Check that you have color calibrated your monitor, that Publisher has the right color...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found