Skip to content

[select] Fix highlight being removed on popup mouseout when highlightItemOnHover is disabled - #3492

Merged
atomiks merged 2 commits into
mui:masterfrom
atomiks:fix/selet-highlight-hover-out
Dec 29, 2025
Merged

atomiks merged 2 commits into
mui:masterfrom
atomiks:fix/selet-highlight-hover-out

Conversation

@atomiks

@atomiks atomiks commented Dec 11, 2025 •

Copy link
Copy Markdown
Contributor

Fixes the highlight being removed when leaving the popup due to the onPointerLeave handler. It should remain since it is sync'd only with the focus (keyboard) state.

https://stackblitz.com/edit/hqdzj2iz

Note: drag-to-select functionality when this prop is disabled currently does not work, WIP fix is in #3490.

@atomiks atomiks added component: select Changes related to the select component. type: bug It doesn't behave as expected. labels Dec 11, 2025
@pkg-pr-new

pkg-pr-new Bot commented Dec 11, 2025 •

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

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

commit: 2deca71

@mui-bot

mui-bot commented Dec 11, 2025 •

Copy link
Copy Markdown

Bundle size report

Bundle Parsed size Gzip size
@base-ui/react 🔺+32B(+0.01%) ▼-4B(0.00%)

Details of bundle changes


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

@netlify

netlify Bot commented Dec 11, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 2deca71
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6952399b0f831d0008d5e7f5
😎 Deploy Preview https://deploy-preview-3492--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 December 11, 2025 05:31
@atomiks
atomiks merged commit c573c26 into mui:master Dec 29, 2025
@atomiks
atomiks deleted the fix/selet-highlight-hover-out branch December 29, 2025 08:23
atomiks added a commit to atomiks/base-ui that referenced this pull request Dec 30, 2025
atomiks added a commit to atomiks/base-ui that referenced this pull request Dec 30, 2025
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: select Changes related to the select component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants