Skip to content

Display: 'inline-block' only present with constraints prop #4

@DewarM

Description

@DewarM

Currently, the style display: inline-block is applied to the RegionSelect component. This is currently breaking.

Idea1(easy):

Remove display: inline-block and replace with a conditional that applies this style only if constraints prop is true.

Idea2(harder):

Pass a ref to the underlying child, access this ref and measure the width/height and use these child widths and heights for constraints.

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