Skip to content

Fix how hovering tooltip is handled to keep tooltip open #1245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: clear mouseover and mouseout when imperativeModeOnly is true
  • Loading branch information
gabrieljablonski committed Apr 7, 2025
commit 53717f841adea4baec8383cccefc91d3f68813c0
6 changes: 4 additions & 2 deletions src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,17 @@ const Tooltip = ({

if (imperativeModeOnly) {
Object.assign(actualOpenEvents, {
mouseenter: false,
mouseover: false,
focus: false,
mouseenter: false,
click: false,
dblclick: false,
mousedown: false,
})
Object.assign(actualCloseEvents, {
mouseleave: false,
mouseout: false,
blur: false,
mouseleave: false,
click: false,
dblclick: false,
mouseup: false,
Expand Down