Skip to content

[EuiPopover] Round title and footer corners to match the panel - #9985

Merged
ryankeairns merged 3 commits into
mainfrom
rk/well-rounded
Sep 2, 2026
Merged

ryankeairns merged 3 commits into
mainfrom
rk/well-rounded

Conversation

@ryankeairns

@ryankeairns ryankeairns commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Closes #9970

Summary

  • What: EuiPopoverTitle and EuiPopoverFooter now use the same corner radius as the popover panel.
  • Why: Fixes [EuiPopoverFooter] Footer background is not clipped to the popover panel border radius #9970. A title or footer background currently squares off the panel corners. This gets more obvious once panel radius increases.
  • How: Apply border.radius.medium to the title’s top corners and the footer’s bottom corners. Do not add overflow: hidden on the panel — that clips the filter-based shadow and arrow.

API Changes

None.

Screenshots

Before After
CleanShot 2026-09-01 at 15 44 06@2x CleanShot 2026-09-01 at 15 38 52@2x
CleanShot 2026-09-01 at 15 37 26@2x CleanShot 2026-09-01 at 15 38 18@2x

Impact Assessment

Note: Most PRs should be tested in Kibana to help gauge their Impact before merging.

  • 🔴 Breaking changes — What will break? How many usages in Kibana/Cloud UI are impacted?
  • 💅 Visual changes — Title/footer fills now follow the panel radius. Visible when those regions have a background (e.g. Kibana options list EuiInputPopover). No layout or API change.
  • 🧪 Test impact — May break functional or snapshot tests (e.g., HTML structure, class names, default values).
  • 🔧 Hard to integrate — If changes require substantial updates to Kibana, please stage the changes and link them here.

Impact level: 🟢 Low

Release Readiness

  • Documentation: N/A — visual bugfix, no docs change
  • Figma: N/A
  • Migration guide: N/A
  • Adoption plan (new features): N/A

QA instructions for reviewer

  • Open Storybook EuiPopoverFooter and EuiPopoverTitle.
  • Give EuiPopoverFooter (and EuiPopoverTitle) a background color.
  • Bottom corners of the footer follow the panel radius (not square).
  • Top corners of the title follow the panel radius (not square).
  • Filter shadow and arrow still render (no clipping).
  • Repeat on Layout / EuiInputPopover with a footer background, including panelPaddingSize="none".

Checklist before marking Ready for Review

  • Filled out all sections above
  • QA: Tested light/dark modes, high contrast, mobile, Chrome/Safari/Edge/Firefox, keyboard-only, screen reader
  • QA: Tested in CodeSandbox and Kibana
  • QA: Tested docs changes N/A
  • Tests: Existing Jest snapshots still pass (class names unchanged)
  • Changelog: Added changelog entry
  • Breaking changes: Added breaking change label (if applicable) N/A

Reviewer checklist

  • Approved Impact Assessment — Acceptable to merge given the consumer impact.
  • Approved Release Readiness — Docs, Figma, and migration info are sufficient to ship.

@ryankeairns
ryankeairns marked this pull request as ready for review September 1, 2026 22:45
@ryankeairns
ryankeairns requested a review from a team as a code owner September 1, 2026 22:45
Copilot AI lite review requested due to automatic review settings September 1, 2026 22:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a low-risk, self-contained styling adjustment that aligns title/footer visuals with the existing panel radius (only a minor comment wording nit noted).

Pull request overview

Updates EuiPopoverTitle and EuiPopoverFooter styling so their backgrounds respect the same corner radius as the popover panel, preventing title/footer fills from visually “squaring off” rounded panel corners (per #9970).

Changes:

  • Applied euiTheme.border.radius.medium to the title’s top corners.
  • Applied euiTheme.border.radius.medium to the footer’s bottom corners.
  • Added an upcoming changelog entry documenting the visual bugfix.
File summaries
File Description
packages/eui/src/components/popover/popover_title.styles.ts Rounds the title’s top corners to match the popover panel radius.
packages/eui/src/components/popover/popover_footer.styles.ts Rounds the footer’s bottom corners to match the popover panel radius.
packages/eui/changelogs/upcoming/9985.md Documents the popover title/footer radius bugfix in the changelog.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mgadewoll
mgadewoll self-requested a review September 2, 2026 06:17
Co-authored-by: Copilot Autofix powered by AI <[email protected]>

@mgadewoll mgadewoll left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Changes are LGTM. Thanks for the fix!

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

@ryankeairns
ryankeairns merged commit 345a26f into main Sep 2, 2026
7 checks passed
@ryankeairns
ryankeairns deleted the rk/well-rounded branch September 2, 2026 16:05
Dosant added a commit to elastic/kibana that referenced this pull request Sep 11, 2026
Part of elastic/eui-private#766

Staged commits cherry-picked from:
- #287310
- #288418
- #235177

## Dependency updates

`@elastic/eui` - 120.0.0 ⏩ 121.0.0
`@elastic/eui-test-helpers` - 1.5.0-snapshot ⏩ 1.6.0

> [!WARNING]
> `EuiHeaderLogo`: `iconType` is removed and `children` text is no
longer rendered. Use `logoType` (`glyph` or `horizontal`). Staged in
#288418.

Also in this PR:
- `EuiButtonGroup` Children API migrations and snapshot updates from
#287310
- New i18n token `euiTimeWindowButtons.label` (`Time window controls`)

## Package updates

### `@elastic/eui`
[v121.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added `isDisabled`, `isLoading`, `href`, and `target` props to
`EuiFlyoutMenuAction`.
([#9992](elastic/eui#9992))
- Updated `onClick` on `EuiFlyoutMenuAction` to be optional, so actions
can navigate via `href` alone.
([#9992](elastic/eui#9992))
- Added `tableSparkles` icon
([#9987](elastic/eui#9987))
- Updated styles of `EuiFilterButton`
([#9961](elastic/eui#9961))
- Updated `EuiFilterGroup`
([#9961](elastic/eui#9961))
    - Updated styles
- Added `display` prop (values: `'regular' | 'highlighted'`) to render
different visual toggle variants
- Added `showDividers` prop to optionally render dividers between group
children
- Updated `EuiSplitButton` disabled styles
([#9986](elastic/eui#9986))
- Updated styles on `EuiButtonGroup` with legacy Options API
([#9953](elastic/eui#9953))
- Updated usages of `EuiButtonGroup` in `EuiDataGrid`'s display selector
and column sorting to use the Children API
([#9953](elastic/eui#9953))
- Updated `EuiSuperDatePicker`'s time window buttons to use
`EuiButtonGroup` with Children API
([#9953](elastic/eui#9953))

**Bug fixes**

- Fixed `EuiPopoverTitle` and `EuiPopoverFooter` backgrounds not
following the popover panel's corner radius
([#9985](elastic/eui#9985))
- Fixed `EuiFlyoutBody` content becoming inaccessible at short viewport
heights ([#9944](elastic/eui#9944))

**Deprecations**

- Deprecated `options` on `EuiButtonGroup` - Use the new Children API
via `children` prop instead.
([#9953](elastic/eui#9953))
- Deprecated `color` on `EuiButtonGroup` - `color` will be fixed to
`text` in the future.
([#9953](elastic/eui#9953))
- Deprecated `buttonSize="compressed"` on `EuiButtonGroup` - Renders as
`buttonSize="s"` instead.
([#9953](elastic/eui#9953))

**Breaking changes**

- Added a new `logoType` prop to `EuiHeaderLogo` to render either the
`glyph` or `horizontal` Elastic logo. The `iconType` prop has been
removed, and `children` text content is no longer rendered.
([#9875](elastic/eui#9875))

### `@elastic/eui-test-helpers`
[v1.6.0](https://github.com/elastic/eui/blob/main/packages/test-helpers/changelogs/CHANGELOG_2026.md)

- Added `EuiPopoverObject`, a Playwright Component Object for
`EuiPopover` ([#9993](elastic/eui#9993))
- Added `EuiFlyoutObject`, a Playwright Component Object for `EuiFlyout`
([#9994](elastic/eui#9994))
- Added `EuiModalObject`, a Playwright Component Object for
`EuiModal`/`EuiConfirmModal`
([#10002](elastic/eui#10002))
- Added `EuiAccordionObject`, a Playwright Component Object for
`EuiAccordion` ([#10003](elastic/eui#10003))

**Bug fixes**

- Fixed `EuiComboBoxObject.clear()` and `setSelectedOptions()` timing
out on `singleSelection` combo boxes, whose pills have no close button
([#9998](elastic/eui#9998))

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: JoseLuisGJ <[email protected]>
ppisljar pushed a commit to ppisljar/kibana that referenced this pull request Sep 21, 2026
Part of elastic/eui-private#766

Staged commits cherry-picked from:
- elastic#287310
- elastic#288418
- elastic#235177

## Dependency updates

`@elastic/eui` - 120.0.0 ⏩ 121.0.0
`@elastic/eui-test-helpers` - 1.5.0-snapshot ⏩ 1.6.0

> [!WARNING]
> `EuiHeaderLogo`: `iconType` is removed and `children` text is no
longer rendered. Use `logoType` (`glyph` or `horizontal`). Staged in
elastic#288418.

Also in this PR:
- `EuiButtonGroup` Children API migrations and snapshot updates from
elastic#287310
- New i18n token `euiTimeWindowButtons.label` (`Time window controls`)

## Package updates

### `@elastic/eui`
[v121.0.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md)

- Added `isDisabled`, `isLoading`, `href`, and `target` props to
`EuiFlyoutMenuAction`.
([elastic#9992](elastic/eui#9992))
- Updated `onClick` on `EuiFlyoutMenuAction` to be optional, so actions
can navigate via `href` alone.
([elastic#9992](elastic/eui#9992))
- Added `tableSparkles` icon
([elastic#9987](elastic/eui#9987))
- Updated styles of `EuiFilterButton`
([elastic#9961](elastic/eui#9961))
- Updated `EuiFilterGroup`
([elastic#9961](elastic/eui#9961))
    - Updated styles
- Added `display` prop (values: `'regular' | 'highlighted'`) to render
different visual toggle variants
- Added `showDividers` prop to optionally render dividers between group
children
- Updated `EuiSplitButton` disabled styles
([elastic#9986](elastic/eui#9986))
- Updated styles on `EuiButtonGroup` with legacy Options API
([elastic#9953](elastic/eui#9953))
- Updated usages of `EuiButtonGroup` in `EuiDataGrid`'s display selector
and column sorting to use the Children API
([elastic#9953](elastic/eui#9953))
- Updated `EuiSuperDatePicker`'s time window buttons to use
`EuiButtonGroup` with Children API
([elastic#9953](elastic/eui#9953))

**Bug fixes**

- Fixed `EuiPopoverTitle` and `EuiPopoverFooter` backgrounds not
following the popover panel's corner radius
([elastic#9985](elastic/eui#9985))
- Fixed `EuiFlyoutBody` content becoming inaccessible at short viewport
heights ([elastic#9944](elastic/eui#9944))

**Deprecations**

- Deprecated `options` on `EuiButtonGroup` - Use the new Children API
via `children` prop instead.
([elastic#9953](elastic/eui#9953))
- Deprecated `color` on `EuiButtonGroup` - `color` will be fixed to
`text` in the future.
([elastic#9953](elastic/eui#9953))
- Deprecated `buttonSize="compressed"` on `EuiButtonGroup` - Renders as
`buttonSize="s"` instead.
([elastic#9953](elastic/eui#9953))

**Breaking changes**

- Added a new `logoType` prop to `EuiHeaderLogo` to render either the
`glyph` or `horizontal` Elastic logo. The `iconType` prop has been
removed, and `children` text content is no longer rendered.
([elastic#9875](elastic/eui#9875))

### `@elastic/eui-test-helpers`
[v1.6.0](https://github.com/elastic/eui/blob/main/packages/test-helpers/changelogs/CHANGELOG_2026.md)

- Added `EuiPopoverObject`, a Playwright Component Object for
`EuiPopover` ([elastic#9993](elastic/eui#9993))
- Added `EuiFlyoutObject`, a Playwright Component Object for `EuiFlyout`
([elastic#9994](elastic/eui#9994))
- Added `EuiModalObject`, a Playwright Component Object for
`EuiModal`/`EuiConfirmModal`
([elastic#10002](elastic/eui#10002))
- Added `EuiAccordionObject`, a Playwright Component Object for
`EuiAccordion` ([elastic#10003](elastic/eui#10003))

**Bug fixes**

- Fixed `EuiComboBoxObject.clear()` and `setSelectedOptions()` timing
out on `singleSelection` combo boxes, whose pills have no close button
([elastic#9998](elastic/eui#9998))

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: JoseLuisGJ <[email protected]>
weronikaolejniczak pushed a commit to boriskirov/eui that referenced this pull request Nov 11, 2026
…ic#9985)

Co-authored-by: Cursor <[email protected]>
Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiPopoverFooter] Footer background is not clipped to the popover panel border radius

3 participants