Skip to content

EuiContextMenuItem needs to accept arbitrary components as children #336

@cjcenizal

Description

@cjcenizal

Based on use cases discovered in #250, we need to be able to support children such as:

  • EuiSwitch
  • EuiCheckbox
  • EuiRadioGroup

In these cases, tabbing to an item should move focus to the first focusable child. As long as a child of the item retains focus, this item should retain the "focused state" blue background.

I don't think the item should be a focus trap. In other words, tabbing through a radio group and then beyond the last radio should move focus to the next EuiContextMenuItem.

CC @uboness

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions