Skip to content

EuiSuperSelect focus lost after making a selection #3727

@phyolim

Description

@phyolim

After clicking on an option in EuiSuperSelect dropdown, focus is moved to the first item in form. I think it should maintain focus on the current field like it does in other field types.

Workaround:
Create a ref attached to EuiSuperSelect.
onChange handler can be overwritten with a function that will trigger onChange and then focus on the ref attached to EuiSuperSelect.

Metadata

Metadata

Assignees

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