Skip to content
This repository was archived by the owner on Dec 15, 2018. It is now read-only.
This repository was archived by the owner on Dec 15, 2018. It is now read-only.

Not updating position on DOM changes #113

@Trevald

Description

@Trevald

I have a toggable area above the sticky section. When the toggled area are hidden (default) everything works fine. But when toggled open the element that should be sticky get pushed down and when scrolling down it switches to fixed to early. Which I assume is because it doesn't recalculate it's initial position.

Any way to fix this without having to check for dom-changes and destroy re-initiate everytime?

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