Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

AccordionPane doesn't grow when children have dynamic values #124

@czaas

Description

@czaas

Repro: https://codesandbox.io/s/unruffled-curie-6jjdy?file=/src/App.tsx

Behavior: when nested child component grows or exposes new items the accordion doesn't grow

Expected behavior: when a nested child component changes I would expect the accordion pane to grow with it

Possible solution:

  1. We can try and detect any changes when nested
  2. We could add a prop to the pane and add it as a dependency to recalculate pane height

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions