Background images are not rendered in exported PDF (?exportMode=true)
Describe Your Environment
What version of Spectacle are you using? (can be found by running npm list spectacle)
[email protected]
What version of React are you using? (can be found by running npm list react)
[email protected]
What browser are you using?
chrome (newest version)
What machine are you on?
macOS / macbook pro
Describe the Problem
Background image should be rendered in ?exportMode.
- https://codesandbox.io/s/simple-spectacle-example-whbgc
- https://whbgc.csb.app/?exportMode=true&slide=0&slideElement=-1
Expected behavior: [What you expect to happen] Background image should be rendered
Actual behavior: [What actually happens] Background image is not rendered
Additional Information
N/A
How odd - I don't see a slide with a custom image in the exported version of this Deck, but I see it in the normal presentation. It looks like slides with a backgroundImg but no other content are failing to render side-by-side in exportMode. Going to look into this a little further.
@hinok hello - v7 of spectacle correctly renders the backgroundImg when exportMode=true. You can observe this in your initial codesandbox simply by bumping the spectacle dependency to be "^7.0.0"
@gingerrific Thanks, it seems that it works correctly on 7.0.4.