Questions About the SearchField Background #6678
Replies: 1 comment
|
It matches the current implementation: the visible shell/background is the group, and the group has a fixed In the styles, So for horizontal resizing, put the width on the <SearchField fullWidth>
<SearchField.Input placeholder="Search..." />
</SearchField>If you want the background to grow vertically with a larger input or viewport rule, the group height needs to be changed too. Overriding only the input size leaves the fixed-height group in place. |
Uh oh!
There was an error while loading. Please reload this page.
https://heroui.com/en/docs/react/components/search-field
Due to the following CSS styling, the size of the
search-field-groupdoes not change even when the viewport changes; only theinputelements contained withinsearch-field__groupchange size.As a result, the background color does not adjust to the size of the
inputelements.Is this the intended behavior?

All reactions