Skip to content

[tooltip] Fix trackCursorAxis handling - #3679

Merged
atomiks merged 2 commits into
mui:masterfrom
atomiks:fix/tooltip-track-cursor-axis
Jan 5, 2026
Merged

atomiks merged 2 commits into
mui:masterfrom
atomiks:fix/tooltip-track-cursor-axis

Conversation

@atomiks

@atomiks atomiks commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

After the refactor to detached triggers for tooltip, the useClientPoint hook wasn't updated to consider trigger props. The pre-open mousemove handler therefore wasn't firing so the position was incorrect after a delay on open.

Fixes #3672

@atomiks atomiks added type: bug It doesn't behave as expected. component: tooltip Changes related to the tooltip component. type: regression A bug, but worse, it used to behave as expected. and removed type: bug It doesn't behave as expected. labels Jan 5, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jan 5, 2026 •

Copy link
Copy Markdown
  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@3679
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@3679
    

commit: 1d093d9

@mui-bot

mui-bot commented Jan 5, 2026 •

Copy link
Copy Markdown

Bundle size report

ℹ️ Using snapshot from parent commit 49cfd5e (fallback from merge base 62f91fe).

Bundle Parsed size Gzip size
@base-ui/react 🔺+31B(+0.01%) 🔺+12B(+0.01%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented Jan 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 1d093d9
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/695ba7e7acbb0d000888c4d1
😎 Deploy Preview https://deploy-preview-3679--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@atomiks
atomiks marked this pull request as ready for review January 5, 2026 02:49
@atomiks
atomiks merged commit d70b3cf into mui:master Jan 5, 2026
@atomiks
atomiks deleted the fix/tooltip-track-cursor-axis branch January 5, 2026 12:04
atomiks added a commit to atomiks/base-ui that referenced this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tooltip Changes related to the tooltip component. type: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tooltip] trackCursorAxis makes the tooltip render off when re-hovered

3 participants