Skip to content

Conversation

@atomiks
Copy link
Contributor

@atomiks atomiks commented Oct 26, 2025

Tweak to #2604

Because of virtualization, missing elements in the listRef array shouldn't be skipped when determining the active index. In the virtualized demo, pressing ArrowUp lands on the 31st item (last item in the virtual window) instead of the 10,000th item.

@atomiks atomiks added the internal Behind-the-scenes enhancement. Formerly called “core”. label Oct 26, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 26, 2025

vite-css-base-ui-example

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

commit: 3010c25

@mui-bot
Copy link

mui-bot commented Oct 26, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react ▼-4B(0.00%) ▼-1B(0.00%)

Details of bundle changes

@netlify
Copy link

netlify bot commented Oct 26, 2025

Deploy Preview for base-ui ready!

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

Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change makes sense in theory. 👍
But am I missing something?
It looks like on the docs deployed on master the described problem does not exist (tested Combobox and Autocomplete). 🤷

@atomiks
Copy link
Contributor Author

atomiks commented Oct 28, 2025

@LukasTy you sure? It happens for me on master

Screen.Recording.2025-10-28.at.7.55.59.pm.mov

@LukasTy
Copy link
Member

LukasTy commented Oct 28, 2025

@atomiks Yes, on Chrome running MacOS 18 it works like this:

Screen.Recording.2025-10-28.at.12.50.52.mov

Also tested Safari and Firefox... 🤷

@atomiks
Copy link
Contributor Author

atomiks commented Oct 28, 2025

Right, the bug occurs if you focus the input without clicking it, so it doesn't open yet

@LukasTy
Copy link
Member

LukasTy commented Oct 28, 2025

Right, the bug occurs if you focus the input without clicking it, so it doesn't open yet

Whoops. My bad, I skipped that part. 🙈
Yup, looks great then. 👍

@atomiks atomiks merged commit 710bf90 into mui:master Oct 28, 2025
20 checks passed
@atomiks atomiks deleted the fix/disabled-skip-list branch October 28, 2025 23:18
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