Skip to content

Percentage values for width does not propagate properly for SearchInput element #1745

@krisstam

Description

@krisstam

What's wrong?

Setting width="100%" for a <SearchInput /> element does not correctly set the width of the search input element

How to reproduce?

Steps to reproduce the behavior:

  1. Add a element to a with a width of say 100vw
  2. Set width="100%" on the <SearchInput /> element

What did you expect to happen, and what happened instead?

Expected the SearchInput to take up 100% of its parent element, instead it takes up the default size of the Field element

Screenshots

Example:

SearchInput element with width="100%"
Image

Manually setting width="100%" on parent stack div using dev tools:

Image

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