Skip to content

[EuiPanel] Remove animation on EuiPanel hover - #9702

Merged
weronikaolejniczak merged 4 commits into
elastic:mainfrom
JasonStoltz:JasonStoltz/remove-panel-translation
Jul 13, 2026
Merged

weronikaolejniczak merged 4 commits into
elastic:mainfrom
JasonStoltz:JasonStoltz/remove-panel-translation

Conversation

@JasonStoltz

@JasonStoltz JasonStoltz commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #9681

Removes animation translations from EuiPanel hover.

API Changes

N/A

Screenshots

Before After
Kapture 2026-07-10 at 16 08 29 Kapture 2026-07-10 at 16 08 13

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

Release Readiness

  • Documentation: {link to docs page(s)}
  • Figma: {link to Figma or issue}
  • 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

  • Verify EuiPanel doesn't animate position on hover

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.

@weronikaolejniczak
weronikaolejniczak force-pushed the JasonStoltz/remove-panel-translation branch from 197a85c to 6727774 Compare July 10, 2026 14:09
@weronikaolejniczak
weronikaolejniczak marked this pull request as ready for review July 10, 2026 14:10
@weronikaolejniczak
weronikaolejniczak requested a review from a team as a code owner July 10, 2026 14:10

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.

Pull request overview

Removes the hover translation animation from clickable EuiPanels to avoid cursor “chasing”/glitchy hover behavior (per #9681), while keeping hover shadow styling.

Changes:

  • Removed the transform: translateY(-2px) hover effect and its associated transform transition from EuiPanel clickable styles.
  • Removed the now-unnecessary transform: none !important; override from split panel inner styles.
  • Added a changelog entry documenting the change.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/eui/src/components/panel/panel.styles.ts Removes hover translation and transform transition from clickable panel styles.
packages/eui/src/components/panel/split_panel/split_panel.styles.ts Drops the transform override that was previously compensating for clickable panel movement.
packages/eui/changelogs/upcoming/9702.md Documents removal of translateY transform on clickable panels.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @weronikaolejniczak

@mgadewoll

Copy link
Copy Markdown
Contributor

Suggestion: One additional change we should probably include here now that the transform is removed is to align the hover shadow size according to the guidelines. We're currently using a euiShadowHover(euiThemeContext, 'l') shadow, but it should be euiShadowHover(euiThemeContext, 'm') (code, docs)

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @weronikaolejniczak

@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 additional shadow update 🙏

@weronikaolejniczak
weronikaolejniczak merged commit eb0a83a into elastic:main Jul 13, 2026
1 check passed
acstll added a commit to elastic/kibana that referenced this pull request Jul 21, 2026
## Dependency updates

`@elastic/eui` - v117.0.0 ⏩ v117.1.0
`@elastic/eslint-plugin-eui` - v2.13.0 ⏩ v2.14.1

## Package updates

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

- Updated the outer border width on `EuiFlyout` to `1px`
([#9803](elastic/eui#9803))
- Removed the `translateY` transform on clickable `EuiPanel`s
([#9702](elastic/eui#9702))
- Updated the hover shadow size on clickable `EuiPanel`s from `l` to `m`
to align with the shadow guidelines
([#9702](elastic/eui#9702))

**Bug fixes**

- Fixed `renderHook` test utility requiring
`@testing-library/react-hooks` in consumer environments running React
18+ ([#9805](elastic/eui#9805))
- Fixed `EuiSearchBar` in-memory filtering keeping items that a negated
multi-value clause such as `-field:(a or b)` should exclude
([#9783](elastic/eui#9783))

**Dependency updates**

- Updated `@elastic/prismjs-esql` to v4.13.0
([#9814](elastic/eui#9814))

### `@elastic/eslint-plugin-eui`
[v2.14.1](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

**Bug fixes**

- Fixed ESLint failing to load `@elastic/eslint-plugin-eui` by moving
its runtime dependencies (`cssstyle`, `micromatch`,
`@typescript-eslint/utils` and `@typescript-eslint/typescript-estree`)
from `devDependencies` to `dependencies`
([#9804](elastic/eui#9804))

**Dependency updates**

- Updated `@typescript-eslint/*` packages from `8.31.1` to `8.64.0`
([#9804](elastic/eui#9804))

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Dependency updates

`@elastic/eui` - v117.0.0 ⏩ v117.1.0
`@elastic/eslint-plugin-eui` - v2.13.0 ⏩ v2.14.1

## Package updates

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

- Updated the outer border width on `EuiFlyout` to `1px`
([elastic#9803](elastic/eui#9803))
- Removed the `translateY` transform on clickable `EuiPanel`s
([elastic#9702](elastic/eui#9702))
- Updated the hover shadow size on clickable `EuiPanel`s from `l` to `m`
to align with the shadow guidelines
([elastic#9702](elastic/eui#9702))

**Bug fixes**

- Fixed `renderHook` test utility requiring
`@testing-library/react-hooks` in consumer environments running React
18+ ([elastic#9805](elastic/eui#9805))
- Fixed `EuiSearchBar` in-memory filtering keeping items that a negated
multi-value clause such as `-field:(a or b)` should exclude
([elastic#9783](elastic/eui#9783))

**Dependency updates**

- Updated `@elastic/prismjs-esql` to v4.13.0
([elastic#9814](elastic/eui#9814))

### `@elastic/eslint-plugin-eui`
[v2.14.1](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md)

**Bug fixes**

- Fixed ESLint failing to load `@elastic/eslint-plugin-eui` by moving
its runtime dependencies (`cssstyle`, `micromatch`,
`@typescript-eslint/utils` and `@typescript-eslint/typescript-estree`)
from `devDependencies` to `dependencies`
([elastic#9804](elastic/eui#9804))

**Dependency updates**

- Updated `@typescript-eslint/*` packages from `8.31.1` to `8.64.0`
([elastic#9804](elastic/eui#9804))

---------

Co-authored-by: kibanamachine <[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.

[EuiPanel] Discuss removing translations

4 participants