Skip to content

fix: restore removed class used for modal focus - #36924

Merged
w33ble merged 1 commit into
elastic:masterfrom
w33ble:fix/add-element-focus
May 22, 2019
Merged

w33ble merged 1 commit into
elastic:masterfrom
w33ble:fix/add-element-focus

Conversation

@w33ble

@w33ble w33ble commented May 22, 2019

Copy link
Copy Markdown
Contributor

Summary

When opening the "Add Element" modal, it used to focus the search input so users could immediately start typing and filter down the elements. This works via class selection, but the class that was being used was removed along the way.

This PR just adds the class back to restore the default input focus. The breaking change came, I think, from #34140.

Currently, no focus

May-22-2019 12-18-59

Focus, restored in this PR

May-22-2019 12-38-15

@w33ble w33ble added review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// v8.0.0 v7.2.0 labels May 22, 2019
@w33ble
w33ble requested a review from cqliu1 May 22, 2019 19:41
@w33ble
w33ble requested a review from a team as a code owner May 22, 2019 19:41

@cqliu1 cqliu1 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.

LGTM 👍

@w33ble
w33ble merged commit 22e05e2 into elastic:master May 22, 2019
@w33ble

w33ble commented May 22, 2019

Copy link
Copy Markdown
Contributor Author

7.x 5e6df14

@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-canvas

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@cqliu1 cqliu1 added v7.3.0 and removed v7.2.0 labels Jun 21, 2019
@bhavyarm

Copy link
Copy Markdown
Contributor

This missed the backport to 7.2 by a day. Spoke to @cqliu1 and the fix is in master and 7.x.

@clintandrewhall clintandrewhall added the release_note:skip Skip the PR/issue when compiling release notes label Jul 8, 2019
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// v7.3.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants