Skip to content

[EuiSuperSelect + EuiFormRow] Field label doesn't turn blue when item in focus #5094

Closed

Description

@brittanyjoiner15

Might be related to #5091 but also might not.

That same field label does not turn blue when active, unlike other fields.

Active field EuiSuperSelect component that we're having issues with in #5091
(black default text color on field label)
image

An active EuiSelect component on same form
(blue highlight/active text color on field label)
image

Another active EuiSuperSelect component on same form
(blue highlight/active text color on field label)
image

Activity

  1. changed the title [-]Field label doesn't turn blue when item in focus[/-] [+][EuiSuperSelect + EuiFormRow] Field label doesn't turn blue when item in focus[/+] on Aug 25, 2021
  2. self-assigned this
    on Aug 26, 2021
  3. cee-chen commented on Aug 26, 2021

    @cee-chen
    Contributor

    I investigated this while fixing #5091 and it's unrelated, but I was able to find a workaround after observing how EuiColorPicker maintained focus state on its label 🎉 Both fixes should be in #5097!

    As a quick note, accessibility is unaffected as the focus state is where it belongs (within the popover/dropdown), so it's purely a visual bug.

  4. brittanyjoiner15 commented on Aug 26, 2021

    @brittanyjoiner15
    Author

    woohoo! thanks @constancecchen !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions