Skip to content

Commit

Permalink
[Maps] focus inputs when editor opens popovers (#51487) (#51512)
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese authored Nov 23, 2019
1 parent 6718eee commit 5b3718d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export class AddTooltipFieldPopover extends Component {
button={this._renderAddButton()}
isOpen={this.state.isPopoverOpen}
closePopover={this._closePopover}
ownFocus
>
{this._renderContent()}
</EuiPopover>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class FilterEditor extends Component {
isOpen={this.state.isPopoverOpen}
closePopover={this._close}
anchorPosition="leftCenter"
ownFocus
>
<div className="mapFilterEditor" data-test-subj="mapFilterEditor">
<SearchBar
Expand Down

0 comments on commit 5b3718d

Please sign in to comment.