[TreeView] Type-ahead do not respect the order of the items #12826
Labels
bug 🐛
Something doesn't work
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
"A1" is focus
Expected behavior
"A2" should be focused
Context
The code uses
Object.keys
which is not ordered and in any case the order in which is item are registered in the first char map is not reliable.Your environment
npx @mui/envinfo
Search keywords: type-ahead
The text was updated successfully, but these errors were encountered: