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

Fix context menu focus jumping #1018

Merged
merged 4 commits into from
Jul 16, 2018
Merged

Conversation

snide
Copy link
Contributor

@snide snide commented Jul 16, 2018

Fixes #959

Adds an animationFrame delay on the updateFocus function for context menus. This gives it enough time for the positioning to calculate first.

@snide snide requested a review from chandlerprall July 16, 2018 17:03
@snide snide removed the request for review from chandlerprall July 16, 2018 17:51
@snide
Copy link
Contributor Author

snide commented Jul 16, 2018

Hmm. Hold on this. Committed to fast.

@snide
Copy link
Contributor Author

snide commented Jul 16, 2018

OK @chandlerprall, tests pass now. Thanks for your help 🙌

Copy link
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.

Code LGTM, docs ran fine

@snide snide merged commit d70ebb4 into elastic:master Jul 16, 2018
@snide snide deleted the bug/context_focus branch July 16, 2018 19:40
@snide
Copy link
Contributor Author

snide commented Jul 16, 2018

cc @peteharverson who asked about this one over slack. This will likely go into a 3.0.1 release and we'll make sure it gets in for 6.4

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.

2 participants