Skip to content

Fix context menu focus jumping - #1018

Merged
snide merged 4 commits into
elastic:masterfrom
snide:bug/context_focus
Jul 16, 2018
Merged

snide merged 4 commits into
elastic:masterfrom
snide:bug/context_focus

Conversation

@snide

@snide snide commented Jul 16, 2018

Copy link
Copy Markdown
Contributor

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

snide commented Jul 16, 2018

Copy link
Copy Markdown
Contributor Author

Hmm. Hold on this. Committed to fast.

@snide

snide commented Jul 16, 2018

Copy link
Copy Markdown
Contributor Author

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

@chandlerprall chandlerprall left a comment

Copy link
Copy Markdown
Contributor

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

snide commented Jul 16, 2018

Copy link
Copy Markdown
Contributor Author

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