spectrum-css icon indicating copy to clipboard operation
spectrum-css copied to clipboard

[clearbutton]: Correct WHCM styling for search clear button in search input UI

Open PreetiNagal opened this issue 3 years ago • 2 comments

Expected Behaviour

Search clear button should not overlap with search input text field

Actual Behaviour

Search clear button overlaps with search input text field causing UI experience doesn't look good. @jnurthen

Reproduce Scenario (including but not limited to)

check search input UI experience in WHCM

Steps to Reproduce

Platform and Version

Windows and all

Sample Code that illustrates the problem

Logs taken while reproducing problem

synced to jira: https://jira.corp.adobe.com/browse/CSS-203

PreetiNagal avatar Jun 27 '22 16:06 PreetiNagal

--spectrum-clearbutton-fill-background-color: ButtonFace;
--spectrum-clearbutton-fill-background-color-disabled: ButtonFace;
--spectrum-clearbutton-fill-background-color-down: ButtonFace;
--spectrum-clearbutton-fill-background-color-hover: ButtonFace;
--spectrum-clearbutton-fill-background-color-key-focus: ButtonFace;

should all be transparent not ButtonFace.

@pfulton I suggest this can wait until the core token work.

jnurthen avatar Jun 27 '22 17:06 jnurthen

@jnurthen thanks James!

@PreetiNagal thank you for reporting this. We'll get it into our backlog.

pfulton avatar Jun 29 '22 19:06 pfulton