Skip to content

Commit

Permalink
Remove potentially duplicate EuiPopover id attributes (#2667)
Browse files Browse the repository at this point in the history
* remove potentially duplicate id

* CL
  • Loading branch information
thompsongl authored Dec 13, 2019
1 parent dffd0dc commit 192c509
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Fixed `EuiDroppable` not accepting multiple children when using TypeScript ([#2634](https://github.com/elastic/eui/pull/2634))
- Fixed `EuiComboBox` from submitting parent `form` element when selecting options via `Enter` key ([#2642](https://github.com/elastic/eui/pull/2642))
- Fixed `EuiNavDrawer` expand button from losing focus after click ([#2643](https://github.com/elastic/eui/pull/2643))
- Fixed instances of potentially duplicate `EuiPopover` `id` attributes ([#2667](https://github.com/elastic/eui/pull/2667))

## [`17.1.2`](https://github.com/elastic/eui/tree/v17.1.2)

Expand Down
1 change: 0 additions & 1 deletion src/components/suggest/__snapshots__/suggest.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ exports[`EuiSuggest is rendered 1`] = `
>
<div
class="euiPopover euiPopover--anchorDownLeft euiPopover--displayBlock euiInputPopover euiInputPopover--fullWidth"
id="popover"
>
<div
class="euiPopover__anchor"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ exports[`EuiSuggestInput is rendered 1`] = `
>
<div
class="euiPopover euiPopover--anchorDownLeft euiPopover--displayBlock euiInputPopover euiInputPopover--fullWidth"
id="popover"
>
<div
class="euiPopover__anchor"
Expand Down
1 change: 0 additions & 1 deletion src/components/suggest/suggest_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export class EuiSuggestInput extends Component {
return (
<div className={classes}>
<EuiInputPopover
id="popover"
input={customInput}
isOpen={this.state.isPopoverOpen}
panelPaddingSize="none"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ exports[`EuiTableSortMobile is rendered 1`] = `
aria-label="aria-label"
class="euiPopover euiPopover--anchorDownRight"
data-test-subj="test subject string"
id="sortPopover"
>
<div
class="euiPopover__anchor"
Expand Down
1 change: 0 additions & 1 deletion src/components/table/mobile/table_sort_mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export class EuiTableSortMobile extends Component<

const mobileSortPopover = (
<EuiPopover
id="sortPopover"
ownFocus
button={mobileSortButton}
isOpen={this.state.isPopoverOpen}
Expand Down

0 comments on commit 192c509

Please sign in to comment.