Skip to content

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

@testudor

Description

@testudor

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions