Repository navigation
[EuiFlyout] Expose header, footer, and outer scroll refs - #10105
Merged
Merged
Conversation
|
👋 Since this is a community submitted pull request, a Buildkite build has not been started automatically. Would an Elastic organization member please verify the contents of this pull request and kick off a build manually? |
|
We don't accept community contributions without a linked issue labelled "help wanted". Please file or link one first. See our contribution guidelines. |
tsullivan
reviewed
Oct 1, 2026
tsullivan
reviewed
Oct 1, 2026
tsullivan
reviewed
Oct 1, 2026
tsullivan
left a comment
Member
There was a problem hiding this comment.
@vianmangal thanks for this work! Left a few comments
Contributor
Author
|
@tsullivan resolved. check it out |
tsullivan
approved these changes
Oct 1, 2026
tsullivan
enabled auto-merge (squash)
October 1, 2026 16:46
Member
|
buildkite test it |
💚 Build Succeeded
|
💚 Build Succeeded
|
Member
|
Thank you, vian! |
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]>
2 tasks done
mikecote
pushed a commit
to mikecote/kibana
that referenced
this pull request
Oct 21, 2026
…ass lookup (elastic#299617) ## Summary Follows elastic/eui#10105 EUI 123.2.0 forwards `ref` on `EuiFlyoutHeader` (elastic/eui#10087), so `FlyoutTemplate.Header` now passes the collapse hook's `headerRef` directly to it. This PR removes the Kibana-owned `kbnFlyoutTemplateHeader` class, the `closest()` lookup that walked up from an inner wrapper, and the wrapper `<div>` that existed only to start that walk. Wheel forwarding behaves as before, and the header tests now find the header by `data-test-subj` instead of an EUI-internal class. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - ~[ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~ - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - ~[ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud, added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker), or updated in external injectors such as kibana-controller; unused in this repo is not unused in production — prefer [`rename()`](https://github.com/elastic/kibana/blob/main/docs/extend/tutorials/configuring-your-plugin.md#handle-plugin-configuration-deprecations) over a hard cut~ - ~[ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - ~[ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - ~[ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)~ - ~[ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.~
erikcurrin-elastic
pushed a commit
to erikcurrin-elastic/kibana
that referenced
this pull request
Oct 22, 2026
…ass lookup (elastic#299617) ## Summary Follows elastic/eui#10105 EUI 123.2.0 forwards `ref` on `EuiFlyoutHeader` (elastic/eui#10087), so `FlyoutTemplate.Header` now passes the collapse hook's `headerRef` directly to it. This PR removes the Kibana-owned `kbnFlyoutTemplateHeader` class, the `closest()` lookup that walked up from an inner wrapper, and the wrapper `<div>` that existed only to start that walk. Wheel forwarding behaves as before, and the header tests now find the header by `data-test-subj` instead of an EUI-internal class. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - ~[ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~ - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - ~[ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud, added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker), or updated in external injectors such as kibana-controller; unused in this repo is not unused in production — prefer [`rename()`](https://github.com/elastic/kibana/blob/main/docs/extend/tutorials/configuring-your-plugin.md#handle-plugin-configuration-deprecations) over a hard cut~ - ~[ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - ~[ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - ~[ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)~ - ~[ ] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.~
weronikaolejniczak
pushed a commit
to boriskirov/eui
that referenced
this pull request
Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EuiFlyoutHeaderandEuiFlyoutFooterto their root elements.scrollContainerReftoEuiFlyoutfor its outer.euiFlyout__contentelement, separate from the panel ref andEuiFlyoutBody's existing internal scroll ref.Why are we making this change?
Relates to #10087. Kibana's collapsible flyout header currently has to query the DOM and walk ancestor elements to locate the header and outer scroll region. These refs provide direct handles without changing default behavior.
Impact to users
Additive API change. Existing consumers do not need to update their code. No visual changes.
QA
corepack yarn test-unit flyout_body.test.tsx flyout_header.test.tsx flyout_footer.test.tsx flyout.test.tsx --runInBand --silent— 85 tests passedcorepack yarn tsc --noEmit— passedcorepack yarn tsc -p .storybook/tsconfig.json --noEmit— passed