FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.71k stars 690 forks source link

bug in export mode #1238

Closed Manubi closed 1 year ago

Manubi commented 1 year ago

hi, the ?exportMode=true is not triggering the <Appear> and <Stepper> components. Meaning only the things that are on stepIndex=0 (eg. http://localhost:3000/?slideIndex=1&stepIndex=0) are shown, but all the other steps (0+n) are missing in the view.

Example: This version of http://localhost:3000/?exportMode=true

CleanShot 2022-09-29 at 10 08 36@2x

should look like this: http://localhost:3000/?slideIndex=1&stepIndex=1

CleanShot 2022-09-29 at 10 09 20@2x

Thanks!

fritz-c commented 1 year ago

Duplicate of #1111

Here's a temporary workaround: https://codesandbox.io/s/show-appear-children-in-exportmode-spectacle-fc0uck