Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Uncaught Error: childHeight and pinSpacerHeight are required in Pin component.' for package versions ^0.2.0 and up #77

Open
testudor opened this issue May 21, 2024 · 0 comments

Comments

@testudor
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant