Skip to content

Conversation

@PhilippeOberti
Copy link
Contributor

Summary

This PR fixes a UI issue with the kbn-cell-actions rendering in hover mode. A recent EUI PR made a change to the default offset value:

Context

- Updated EuiPopover default prop values of hasArrow, position and offset: (https://github.com/elastic/eui/pull/9218)
  - Changed hasArrow to false
  - Changed position to downLeft
  - Changed offset to 4 when hasArrow=false

This offset change ended up making our cell actions almost unusable, as the gap that is now present between the hovered content and the content of the EuiPopover is not 4 pixels (instead of previously 0). This means that when leaving the hovered content and before reaching the EuiPopover content, the popover is actually being removed...

Before the EUI 109.2.0 commit

Screen.Recording.2025-12-03.at.1.42.54.PM.mov

Right at the EUI 109.2.0 commit

Screen.Recording.2025-12-03.at.1.37.26.PM.mov

Solution

Add offset={0} to the EuiPopover in the kbn-cell-actions package. That way we do not have to change the UI and the correct behavior is restored.

Checklist

  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

…ck on its content (after this recent EUI PR elastic#244032 changed the default offset to 4)
@PhilippeOberti PhilippeOberti requested a review from a team as a code owner December 3, 2025 19:57
@PhilippeOberti PhilippeOberti added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team labels Dec 3, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 11.1MB 11.1MB +9.0B

Copy link
Contributor

@kqualters-elastic kqualters-elastic left a comment

Choose a reason for hiding this comment

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

🙏

@PhilippeOberti PhilippeOberti merged commit a2aa429 into elastic:main Dec 3, 2025
21 checks passed
@PhilippeOberti PhilippeOberti deleted the fix-unusable-cell-actions branch December 3, 2025 22:12
JordanSh pushed a commit to JordanSh/kibana that referenced this pull request Dec 9, 2025
…ck on its content (elastic#245162)

## Summary

This PR fixes a UI issue with the `kbn-cell-actions` rendering in hover
mode. A recent [EUI PR](elastic#244032)
made a change to the default `offset` value:

### Context

```
- Updated EuiPopover default prop values of hasArrow, position and offset: (elastic/eui#9218)
  - Changed hasArrow to false
  - Changed position to downLeft
  - Changed offset to 4 when hasArrow=false
``` 

This offset change ended up making our cell actions almost unusable, as
the gap that is now present between the hovered content and the content
of the `EuiPopover` is not 4 pixels (instead of previously 0). This
means that when leaving the hovered content and before reaching the
`EuiPopover` content, the popover is actually being removed...

Before the EUI `109.2.0` commit


https://github.com/user-attachments/assets/4ff1e2ef-38cc-486e-a236-1df400b2a5d0

Right at the EUI `109.2.0` commit


https://github.com/user-attachments/assets/e4af2ca6-36fc-48e9-aee7-c8a9fc00ede3

### Solution

Add `offset={0}` to the `EuiPopover` in the `kbn-cell-actions` package.
That way we do not have to change the UI and the correct behavior is
restored.

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants