Skip to content

Increase height to match Kibana AppHeader compact mode - #10103

Merged
mgadewoll merged 14 commits into
elastic:mainfrom
JoseLuisGJ:flyout-menu-height-fix
Oct 5, 2026
Merged

mgadewoll merged 14 commits into
elastic:mainfrom
JoseLuisGJ:flyout-menu-height-fix

Conversation

@JoseLuisGJ

@JoseLuisGJ JoseLuisGJ commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Changing the Flyout menu component height to 50px to match AppHeader in Kibana as described in this issue: #10093

Screenshots

Before After
CleanShot 2026-09-30 at 16 12 35@2x CleanShot 2026-09-30 at 16 13 02@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 — May impact style overrides; could require visual testing. Explain and estimate impact.
  • 🧪 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: 🟢 None / 🟢 Low / 🟡 Moderate / 🔴 High

Release Readiness

  • Documentation: {link to docs page(s)}
  • Figma: Related Figma change ready to be merged here
  • Migration guide: {steps or link, for breaking/visual changes or deprecations}
  • Adoption plan (new features): {link to issue/doc or outline who will integrate this and where}

QA instructions for reviewer

Checklist before marking Ready for Review

Reviewer checklist

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

@JoseLuisGJ JoseLuisGJ self-assigned this Sep 30, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

📷 34 visual difference(s) found

Look at the visual diff below. If everything is expected, run Approve visual changes to update baselines, re-run the job or make appropriate fixes.

See the visual regression testing wiki for more information.

Expand to review

euicollapsiblenav (4 differences)

StoryDiff %BeforeAfterDiff
full header pattern desktop 0.03%
playground desktop 0.03%
full header pattern mobile 0.11%
playground mobile 0.11%

euidatagrid (2 differences)

StoryDiff %BeforeAfterDiff
full screen with flyout desktop <0.01%
full screen with flyout mobile <0.01%

euiflyout (24 differences)

StoryDiff %BeforeAfterDiff
high contrast desktop <0.01%
playground desktop 0.31%
push flyouts desktop 1.75%
with banner desktop 1.13%
with banner no header desktop 0.96%
with banner no menu desktop <0.01%
playground desktop <0.01%
playground desktop <0.01%
playground desktop <0.01%
action states desktop 0.72%
pagination example desktop 0.44%
playground desktop 0.49%
high contrast mobile <0.01%
playground mobile 0.79%
push flyouts mobile 6.65%
with banner mobile 2.42%
with banner no header mobile 1.98%
with banner no menu mobile <0.01%
playground mobile <0.01%
playground mobile <0.01%
playground mobile <0.01%
action states mobile 2.40%
pagination example mobile 1.27%
playground mobile 1.04%

euiheader (4 differences)

StoryDiff %BeforeAfterDiff
elastic navigation pattern desktop <0.01%
multiple fixed headers desktop <0.01%
elastic navigation pattern mobile <0.01%
multiple fixed headers mobile 0.01%

@JoseLuisGJ
JoseLuisGJ marked this pull request as ready for review September 30, 2026 14:23
@JoseLuisGJ
JoseLuisGJ requested a review from a team as a code owner September 30, 2026 14:23
@JoseLuisGJ JoseLuisGJ added the ci:regression-integration-test-kibana Run a Regression Integration Test in Kibana against this PR label Sep 30, 2026
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Kibana Regression Integration Test

Status: 💚 Kibana CI passed
Branch: update-dependencies/1790779590
Kibana PR: elastic/kibana#294527

@tsullivan

Copy link
Copy Markdown
Member

Related, default paddingSize for Flyout should be 16px.

Kibana Flyout Template PR: elastic/kibana#294351

@ryankeairns

Copy link
Copy Markdown
Contributor

@JoseLuisGJ I appreciate you jumping right on this one!

If you have not already, let's do a quick test of this in the Kibana repo. iirc, the AppHeader may use a slightly atypical border implementation (resulting in 49px?) and we want these to align precisely.

Copilot AI balanced review requested due to automatic review settings October 1, 2026 09:40
@JoseLuisGJ

JoseLuisGJ commented Oct 1, 2026 •

Copy link
Copy Markdown
Member Author

If you have not already, let's do a quick test of this in the Kibana repo. iirc, the AppHeader may use a slightly atypical border implementation (resulting in 49px?) and we want these to align precisely.

@ryankeairns testing it in Kibana, I realised that the target height should be 50px and not 49px. If so both will have the shame visual alignment:

CleanShot 2026-10-01 at 11 36 56@2x CleanShot 2026-10-01 at 11 37 31@2x

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.

Copilot review overview

🟡 Changes recommended

The calculated height misses the documented target, and the close-button change affects flyouts without menus.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adjusts EuiFlyoutMenu dimensions to align with Kibana’s compact AppHeader.

Changes:

  • Increases flyout menu height.
  • Repositions the close button.
  • Adds a changelog entry.
File Description
flyout_menu.styles.ts Updates menu height and control sizing.
_flyout_close_button.styles.ts Changes close-button vertical position.
10103.md Documents the visual change.

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

@JoseLuisGJ

Copy link
Copy Markdown
Member Author

@tsullivan something that concerns me is that with this change we're moving all the close button vertical position even not using the Flayout menu , something you can see in the Visual Regression Tests above. As an example:

image

Is this something acceptable or do we want to manage different positions for each of the header combinations?

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

📷 34 visual difference(s) found

Look at the visual diff below. If everything is expected, run Approve visual changes to update baselines, re-run the job or make appropriate fixes.

See the visual regression testing wiki for more information.

Expand to review

euicollapsiblenav (4 differences)

StoryDiff %BeforeAfterDiff
full header pattern desktop 0.03%
playground desktop 0.03%
full header pattern mobile 0.11%
playground mobile 0.11%

euidatagrid (2 differences)

StoryDiff %BeforeAfterDiff
full screen with flyout desktop <0.01%
full screen with flyout mobile <0.01%

euiflyout (24 differences)

StoryDiff %BeforeAfterDiff
high contrast desktop <0.01%
playground desktop 0.33%
push flyouts desktop 1.96%
with banner desktop 1.36%
with banner no header desktop 1.18%
with banner no menu desktop <0.01%
playground desktop <0.01%
playground desktop <0.01%
playground desktop <0.01%
action states desktop 0.77%
pagination example desktop 0.45%
playground desktop 0.51%
high contrast mobile <0.01%
playground mobile 0.84%
push flyouts mobile 7.48%
with banner mobile 2.90%
with banner no header mobile 2.41%
with banner no menu mobile <0.01%
playground mobile <0.01%
playground mobile <0.01%
playground mobile <0.01%
action states mobile 2.60%
pagination example mobile 1.34%
playground mobile 1.12%

euiheader (4 differences)

StoryDiff %BeforeAfterDiff
elastic navigation pattern desktop <0.01%
multiple fixed headers desktop <0.01%
elastic navigation pattern mobile <0.01%
multiple fixed headers mobile 0.01%

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

📷 14 visual difference(s) found

Look at the visual diff below. If everything is expected, run Approve visual changes to update baselines, re-run the job or make appropriate fixes.

See the visual regression testing wiki for more information.

Expand to review

euiflyout (14 differences)

StoryDiff %BeforeAfterDiff
playground desktop 0.33%
push flyouts desktop 1.96%
with banner desktop 1.36%
with banner no header desktop 1.18%
action states desktop 0.77%
pagination example desktop 0.45%
playground desktop 0.51%
playground mobile 0.84%
push flyouts mobile 7.48%
with banner mobile 2.90%
with banner no header mobile 2.41%
action states mobile 2.60%
pagination example mobile 1.34%
playground mobile 1.12%

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

📷 14 visual difference(s) found

Look at the visual diff below. If everything is expected, run Approve visual changes to update baselines, re-run the job or make appropriate fixes.

See the visual regression testing wiki for more information.

Expand to review

euiflyout (14 differences)

StoryDiff %BeforeAfterDiff
playground desktop <0.01%
push flyouts desktop <0.01%
with banner desktop <0.01%
with banner no header desktop <0.01%
action states desktop <0.01%
pagination example desktop <0.01%
playground desktop <0.01%
playground mobile <0.01%
push flyouts mobile <0.01%
with banner mobile <0.01%
with banner no header mobile <0.01%
action states mobile <0.01%
pagination example mobile <0.01%
playground mobile <0.01%

@JoseLuisGJ

Copy link
Copy Markdown
Member Author

Checking last changes in Kibana to see AppHeader and Flyout menu both opened taking 50px height as expected:

CleanShot 2026-10-05 at 11 24 11@2x

@JoseLuisGJ

Copy link
Copy Markdown
Member Author

@tsullivan now with the last changes the close button vertical position only affects to the Menu container when is needed not displacing the button always even when we're not using the Flyout menu

@JoseLuisGJ JoseLuisGJ left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggestions already addressed

@mgadewoll mgadewoll added ci:regression-integration-test-kibana Run a Regression Integration Test in Kibana against this PR and removed ci:regression-integration-test-kibana Run a Regression Integration Test in Kibana against this PR labels Oct 5, 2026
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown

📷 14 visual difference(s) found

Look at the visual diff below. If everything is expected, run Approve visual changes to update baselines, re-run the job or make appropriate fixes.

See the visual regression testing wiki for more information.

Expand to review

euiflyout (14 differences)

StoryDiff %BeforeAfterDiff
playground desktop <0.01%
push flyouts desktop <0.01%
with banner desktop <0.01%
with banner no header desktop <0.01%
action states desktop <0.01%
pagination example desktop <0.01%
playground desktop <0.01%
playground mobile <0.01%
push flyouts mobile <0.01%
with banner mobile 0.05%
with banner no header mobile 0.05%
action states mobile <0.01%
pagination example mobile <0.01%
playground mobile <0.01%

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @JoseLuisGJ

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @JoseLuisGJ

@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.

🟢 LGTM

@mgadewoll

Copy link
Copy Markdown
Contributor

ℹ️ I ran the PR in Kibana CI 🟢.
We can merge.

@mgadewoll mgadewoll removed the ci:regression-integration-test-kibana Run a Regression Integration Test in Kibana against this PR label Oct 5, 2026
@mgadewoll
mgadewoll merged commit c993da3 into elastic:main Oct 5, 2026
8 checks passed
skynetigor pushed a commit to skynetigor/kibana that referenced this pull request Oct 7, 2026
## Dependency updates

`@elastic/eui` - v123.0.0 ⏩ v123.1.0

## Package updates

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

- Removed the left color highlight from `EuiCallOut`
([elastic#10109](elastic/eui#10109))
- Updated Flyout menu height to 50px
([elastic#10103](elastic/eui#10103))
- Added new icons: `chartMix`, `chartWaffle`, `clipboardWarning`,
`clockUp`, `emergencyLight`, `productCanvas`, `productElasticAgent`,
`productFleet`, `productLens`, `puzzlePiece`, `shield`
([elastic#10111](elastic/eui#10111))
- Added `hasAriaDisabled` prop on `EuiSelectableListItem` and `type
EuiSelectableOption`
([elastic#10090](elastic/eui#10090))
- Added refs for `EuiFlyoutHeader`, `EuiFlyoutFooter`, and the outer
`EuiFlyout` scroll container.
([elastic#10105](elastic/eui#10105))
- Corrected `EuiFlyoutHeaderProps`, `EuiFlyoutFooterProps`, and
`EuiFlyoutBodyProps` to describe component props instead of component
types. ([elastic#10105](elastic/eui#10105))
- Updated `EuiFormRow`'s `labelAppend` to render string content with an
extra-small, subdued text style.
([elastic#10067](elastic/eui#10067))

**Bug fixes**

- Fixed a bug on `EuiSelectable` with `searchable={true}` that could
result in an infinite loop if all search results are disabled
([elastic#10090](elastic/eui#10090))
- Fixed `EuiSuperSelect` omitting the currently selected value from its
accessible name when an `aria-label` or `aria-labelledby` was passed.
External labels are now combined with the selected value instead of
overriding it ([elastic#10039](elastic/eui#10039))

---------

Co-authored-by: Ángeles Martínez Barrio <[email protected]>
Co-authored-by: Alexey Antonov <[email protected]>
Co-authored-by: Claude Sonnet 5 <[email protected]>
weronikaolejniczak pushed a commit to boriskirov/eui that referenced this pull request Nov 11, 2026
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.

[EuiFlyoutMenu] Increase height to match Kibana AppHeader compact mode

6 participants