[Autocomplete] scroll is getting scrolled to the top when using filterSelectedOptions #30948
Closed
2 tasks done
Labels
bug 🐛
Something doesn't work
component: autocomplete
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Duplicates
Latest version
Current behavior 😯
when we are using
disableCloseOnSelect
,filterSelectedOptions
andmultiple
props inAutoComplete
component. then by scrolling down select an option after selection scroll is going back to the top of the options.Expected behavior 🤔
It's should not get scrolled to the top of the options. otherwise, can we control this scroll behavior props-driven?
Steps to reproduce 🕹
Steps:
filterSelectedOptions
is used. if we select any option by scrolling down, after selection scroll we go back to the top.filterSelectedOptions
is not used. It's working as expected.Context 🔦
No response
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: