diff --git a/changelogs/upcoming/7375.md b/changelogs/upcoming/7375.md new file mode 100644 index 00000000000..63611add618 --- /dev/null +++ b/changelogs/upcoming/7375.md @@ -0,0 +1,3 @@ +**Bug fixes** + +- Fixed visual text truncation of `EuiBreadcrumb`s with `popoverContent` diff --git a/src-docs/src/views/breadcrumbs/popover_content.tsx b/src-docs/src/views/breadcrumbs/popover_content.tsx index e148ec85066..f5ab29a0198 100644 --- a/src-docs/src/views/breadcrumbs/popover_content.tsx +++ b/src-docs/src/views/breadcrumbs/popover_content.tsx @@ -33,7 +33,7 @@ export default () => { prepend: , }, { - label: "Dwight's space", + label: "Assistant Manager Dwight's space", prepend: , }, ]); @@ -75,10 +75,10 @@ export default () => { popoverProps: { panelPaddingSize: 'none' }, }, { - text: 'My space', + text: spaces.find((space) => space.checked === 'on')!.label, popoverContent: ( setSpaces(newOptions)} searchable diff --git a/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap b/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap index 0fb3af824a7..5a803bb40ce 100644 --- a/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap +++ b/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap @@ -4,17 +4,20 @@ exports[`EuiBreadcrumbContent renders breadcrumbs with \`popoverContent\` with p