Skip to content

Conversation

@Yves852
Copy link

@Yves852 Yves852 commented Oct 11, 2025

resolves #2203

The function getPaddedExitPoints sets by default 5px of padding around the trigger's "exit points". This fix add the parameter to reduce the value to 1px. This change affects HoverCard and Tooltip components.

This may not fix completely the issue as the trigger area still have a padding that can overlap surrounding items but make it much less impacting.

By trying to set to 0px the grace area is cut into 2 pieces and moving the cursor from the trigger to the popped content will close it when the cursor is in-between and reopen it by meeting the second part.

@zernonia
Copy link
Member

Thanks for the PR @Yves852 . Setting to 1 might cause some flickering issue, or unintended 'exit'. Will check on the issue soon

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.

[Bug]: HoverCard hover area overlaps surroundings if content width is too big

2 participants