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

EuiComboBox stealing focus on ENTER keypress #1763

Closed
webfella opened this issue Mar 25, 2019 · 1 comment
Closed

EuiComboBox stealing focus on ENTER keypress #1763

webfella opened this issue Mar 25, 2019 · 1 comment
Assignees
Labels

Comments

@webfella
Copy link

Hi,

I have a form with an onSubmit handler that contains an <EuiComboBox />, and when i press enter in the form, the combo box steals focus and clears the value.

I dug in and couldn't find anything specific around the component itself at first glance, but I was told this could be a side effect from some recent work around keyboard interactions with it.

Cheers

@chandlerprall
Copy link
Contributor

Confirmed that a multi-select combo box with one or more selected options does steal & prevent a form's onSubmit from happening. Also, clicking the combo box's dropdown arrow triggers the form's onSubmit.

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

No branches or pull requests

2 participants