Skip to content

Remove potentially duplicate EuiPopover id attributes#2667

Merged
thompsongl merged 3 commits intoelastic:masterfrom
thompsongl:popover-id
Dec 13, 2019
Merged

Remove potentially duplicate EuiPopover id attributes#2667
thompsongl merged 3 commits intoelastic:masterfrom
thompsongl:popover-id

Conversation

@thompsongl
Copy link
Copy Markdown
Contributor

@thompsongl thompsongl commented Dec 13, 2019

Summary

elastic/kibana#50992 highlights a case where duplicate id errors can occur with EuiPopover.
This removes the id attributes on cases where the value is not necessary and could produce such errors.

Checklist

- [ ] Checked in dark mode
- [ ] Checked in mobile
- [ ] Checked in IE11 and Firefox
- [ ] Props have proper autodocs
- [ ] Added documentation examples

  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately

- [ ] Checked for accessibility including keyboard-only and screenreader modes

  • A changelog entry exists and is marked appropriately

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

Changes LGTM; verified the removed IDs don't appear useful/used by anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants