Skip to content

Position sticky inside collapse  #309

@iamcrisb

Description

@iamcrisb

Use case: Have one container for 3 divs(A,B,C) inside the collapse. Two of them(A,B) are being displayed based on a state property. Component C is a sticky one.

Whenever the state changes -> the collapse re-rendering causes a quick change between overflow: hidden and overflow: initial. The quick overflow change causes the sticky component (C) to flicker to offset and back.

No props are being changed on the collapse itself during this process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions