You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue: the GDS focus style is removed, however the browser focus style is shown
It's happening because the escape key clears not only the combo box but the input focus class, however the input is still in focus so the browser default style shows.
To view in action:
look at the html for the input it has autocomplete__input--focused when you type
hit escape it clears that class but the input is still in focus so browser focus style takes over
It's a small issue but it does mean we have inconsistent styling so I wanted to raise it for consideration :)
The text was updated successfully, but these errors were encountered:
I think all relate to the autocomplete not explicitly styling focus and only using the focus class. In my own services I explicitly define focus to catch these issues.
To replicate:
The issue: the GDS focus style is removed, however the browser focus style is shown
It's happening because the escape key clears not only the combo box but the input focus class, however the input is still in focus so the browser default style shows.
To view in action:
It's a small issue but it does mean we have inconsistent styling so I wanted to raise it for consideration :)
The text was updated successfully, but these errors were encountered: