[AutoComplete] Vistual List scroll position reset to top when Options update #34732
Closed
2 tasks done
Labels
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
Steps to reproduce 🕹
Steps:
demo: https://codesandbox.io/s/divine-wave-mqjvl0?file=/demo.tsx
Current behavior 😯
the list scroll top was reset.
Expected behavior 🤔
keep the scroll position of list.
Context 🔦
Goto OuterElementType function and try to add
role="none"
indiv
can fix this bug. but absolutely we shouldn't removerole="listbox"
,I wonder if this is a bug and how can I resolve the problem.Your environment 🌎
See sandbox.
The text was updated successfully, but these errors were encountered: