Skip to content

Prevent refocusing EuiComboBox input after container blur event#1863

Merged
thompsongl merged 3 commits into
elastic:masterfrom
thompsongl:1857-combobox-blur
Apr 19, 2019
Merged

Prevent refocusing EuiComboBox input after container blur event#1863
thompsongl merged 3 commits into
elastic:masterfrom
thompsongl:1857-combobox-blur

Conversation

@thompsongl
Copy link
Copy Markdown
Contributor

@thompsongl thompsongl commented Apr 19, 2019

Summary

Fixes #1857, in which focus() was sometimes being called after an EuiComboBox blur event, causing the element's input to regain focus.

Checklist

- [ ] This was checked in mobile
- [ ] This was checked in IE11
- [ ] This was checked in dark mode
- [ ] Any props added have proper autodocs
- [ ] Documentation examples were added

  • A changelog entry exists and is marked appropriately

- [ ] This was checked for breaking changes and labeled appropriately
- [ ] Jest tests were updated or added to match the most common scenarios
- [ ] This was checked against keyboard-only and screenreader scenarios
- [ ] This required updates to Framer X components

Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes LGTM; pulled & tested locally

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EuiComboBox returns focus to input when trying to tab away

2 participants