Skip to content

Adding dynamic controls to Leva component fails to update UI #538

Open
@joaoalpalhao

Description

@joaoalpalhao

Description

When adding a new control input to the <Leva /> component the UI does not update properly. It's not expanding according to the number of inputs added to it.

This issue is already opened here #456 almost a year ago but feels like it's been left in the dark.

Expected Behavior

The controller should expand and update the UI properly.

Steps to Reproduce

Simple use the <Leva /> component and update the controls via state and don't interact with the expandable button.
Also a link to my codesandbox.

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