Skip to content

Conversation

@atomiks
Copy link
Contributor

@atomiks atomiks commented Sep 23, 2025

#2675 revealed a bug with forceSyncFocus staying true on close but it should be reset. Otherwise, the scroll will jump since it doesn't use a rAF from that point (and wait for the popup to be positioned).

Typing in the auto highlight demo (react/components/autocomplete#auto-highlight) reveals the issue:

  • Type anything
  • Close popup
  • Type anything again (forceSyncFocusRef.current === true instead of false)
  • Scroll jumped before; now it does not

Marked internal since it's a post-release regression fix.

@atomiks atomiks added internal Behind-the-scenes enhancement. Formerly called “core”. scope: autocomplete labels Sep 23, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 23, 2025

vite-css-base-ui-example

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

commit: 8e7a989

@netlify
Copy link

netlify bot commented Sep 23, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 8e7a989
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68d2077a4136710008181c24
😎 Deploy Preview https://deploy-preview-2815--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.

@mui-bot
Copy link

mui-bot commented Sep 23, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 🔺+28B(+0.01%) 🔺+5B(0.00%)

Details of bundle changes

@atomiks atomiks merged commit 162eb2b into mui:master Sep 24, 2025
21 checks passed
@atomiks atomiks deleted the fix/useListNavigation-force-sync-focus branch September 24, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Behind-the-scenes enhancement. Formerly called “core”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants