-
Couldn't load subscription status.
- Fork 639
Closed
Labels
Description
Description
The hover state for clearing an input should just slightly change the icon color instead of providing a background behind it.
The background right now is also incorrectly sized making it even more apparent that it's implementation is incorrect.
Additionally the example in storybook shows the clear button even though there is no input value. This is incorrect behaviour and could encourage a wrong pattern. It's crucial that the clear button is hidden when the input is empty. Therefore I suggest adding this simple functionality in storybook and be default add a value to it.
Steps to reproduce
- Go to https://primer.style/react/storybook/?path=/story/components-textinput-features--with-trailing-action
- Hover the clear button
Version
v35.32.1
Browser
Safari