Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Field.Group causes rerender when number of Fields changes #249

@zacklitzsinger

Description

@zacklitzsinger

is rendered inside of <Field.Group> for each row that ends up being created (based on the columns of the children). is keyed by index, so if a new row gets added, it can cause many extra rerenders and lifecycle changes that are unnecessary. It can also lead to strange bugs.

One fix for this could be to remove the element if possible, and instead do layouting directly on children. Another option could be to separate out the masonry-style layout that fields provides from the label/helptext concept of a field. Primarily, exploration should be done into other options to handle field. See #223 and #188 for other issues to our current Field implementation.

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