Skip to content

Revert "[EuiToolTip] Improve tooltip group transition" - #9748

Merged
weronikaolejniczak merged 1 commit into
mainfrom
revert-9689-poc/tooltip-group-swap
Jun 23, 2026
Merged

weronikaolejniczak merged 1 commit into
mainfrom
revert-9689-poc/tooltip-group-swap

Conversation

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

Reverts #9689

@weronikaolejniczak weronikaolejniczak self-assigned this Jun 23, 2026
@weronikaolejniczak
weronikaolejniczak requested a review from a team as a code owner June 23, 2026 12:54
Copilot AI review requested due to automatic review settings June 23, 2026 12:54
@weronikaolejniczak weronikaolejniczak added skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR) labels Jun 23, 2026
@weronikaolejniczak
weronikaolejniczak enabled auto-merge (squash) June 23, 2026 12:58

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

This PR reverts the changes introduced in #9689, restoring the previous EuiToolTip hover/transition behavior and removing the associated tooltip manager “skip animation” logic, tests, story, and changelog entry.

Changes:

  • Reverts EuiToolTip hover handling and removes the “skip entry animation” behavior.
  • Simplifies tool_tip_manager back to a single-visible-tooltip manager without time-window signaling.
  • Removes the Storybook “TooltipGroup” story, related tests, and the upcoming changelog entry for #9689.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/eui/src/components/tool_tip/tool_tip.tsx Reverts tooltip show/hide event handling and removes skip-animation styling logic.
packages/eui/src/components/tool_tip/tool_tip.test.tsx Updates tests to align with reverted hover behavior and removes skip-animation coverage.
packages/eui/src/components/tool_tip/tool_tip.stories.tsx Removes the tooltip grouping story added by the reverted PR.
packages/eui/src/components/tool_tip/tool_tip_manager.ts Removes skip-animation window/state and reverts to basic single-tooltip management.
packages/eui/src/components/tool_tip/tool_tip_manager.test.ts Updates manager tests to match reverted manager behavior.
packages/eui/src/components/tool_tip/tool_tip_anchor.tsx Reverts anchor mouse event props to onMouseOver/onMouseOut.
packages/eui/src/components/selectable/selectable_list/selectable_list_item.test.tsx Removes tooltip-manager reset logic that’s no longer present after revert.
packages/eui/changelogs/upcoming/9689.md Removes the upcoming changelog entry for the reverted change.

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

Comment on lines +386 to +387
onMouseOver={showToolTip}
onMouseOut={onMouseOut}
Comment on lines +358 to +362
if (
anchorRef.current === event.relatedTarget ||
(anchorRef.current != null &&
!anchorRef.current.contains(event.relatedTarget as Node))
) {
@elasticmachine

Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

cc @weronikaolejniczak

@elasticmachine

Copy link
Copy Markdown
Collaborator

💚 Build Succeeded

History

cc @weronikaolejniczak

@weronikaolejniczak
weronikaolejniczak merged commit 7e4e562 into main Jun 23, 2026
7 checks passed
@weronikaolejniczak
weronikaolejniczak deleted the revert-9689-poc/tooltip-group-swap branch June 23, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) skip-vrt Skips Visual Regression Testing job in CI (clearly state why you're using it in your PR)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants