diff --git a/changelogs/upcoming/7555.md b/changelogs/upcoming/7555.md new file mode 100644 index 00000000000..b827da815c6 --- /dev/null +++ b/changelogs/upcoming/7555.md @@ -0,0 +1 @@ +- `EuiBreadcrumbs`'s `popoverContent` API now accepts a render function that will be passed a `closePopover` callback, allowing consumers to close the breadcrumb popover from their popover content diff --git a/src-docs/src/views/breadcrumbs/breadcrumbs_example.js b/src-docs/src/views/breadcrumbs/breadcrumbs_example.js index 9d3ec472d66..53fe2dd0d9e 100644 --- a/src-docs/src/views/breadcrumbs/breadcrumbs_example.js +++ b/src-docs/src/views/breadcrumbs/breadcrumbs_example.js @@ -294,6 +294,14 @@ export const BreadcrumbsExample = { accepted as they are controlled automatically by{' '} EuiBreadcrumbs.
+
+ If you need the ability to close the breadcrumb popover from within
+ your popover content,