Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EuiSuperSelect focus lost after making a selection #3727

Closed
phyolim opened this issue Jul 13, 2020 · 0 comments · Fixed by #3734
Closed

EuiSuperSelect focus lost after making a selection #3727

phyolim opened this issue Jul 13, 2020 · 0 comments · Fixed by #3734
Assignees
Labels

Comments

@phyolim
Copy link
Contributor

phyolim commented Jul 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants