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

Update EuiConfirmModal to check for the presence of confirm and cancel buttons before trying to focus them #555

Merged

Conversation

cjcenizal
Copy link
Contributor

@cjcenizal cjcenizal commented Mar 21, 2018

This will fix tests in Kibana which fail when they rapidly open and dismiss confirm modals within a single animation frame, and then focus() is called on an undefined element.

@cjcenizal cjcenizal force-pushed the bug/confirm-modal-focus-missing-buttons branch from c41d45e to c66dac7 Compare March 21, 2018 20:34
@cjcenizal cjcenizal merged commit c52b71a into elastic:master Mar 21, 2018
@cjcenizal cjcenizal deleted the bug/confirm-modal-focus-missing-buttons branch March 21, 2018 20:34
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.

1 participant