scrollytelling
scrollytelling copied to clipboard
'Uncaught Error: childHeight and pinSpacerHeight are required in Pin component.' for package versions ^0.2.0 and up
Hi,
I tried updating the @bsmnt/scrollytelling dependency in your Layered pinning example (https://stackblitz.com/edit/react-ts-4dtlww?file=App.tsx). ^0.1.0 still works, everything above breaks with the error Uncaught Error: childHeight and pinSpacerHeight are required in Pin component. I don't see anything in the docs regarding this, and the error isn't super helpful either as both childHeight and pinSpacerHeight are clearly present. Do you maybe have a working example which uses the most recent package version?