ant-design Select component - scroll to default bug

ukqbszuj  于 2022-11-05  发布在  其他
关注(0)|答案(1)|浏览(163)

Steps to reproduce

Open select component

What is expected?

Dropdown will be scrolled to the selected option

What is actually happening?

Opening for the first time - the menu scrolls two points higher (the selected item is not visible), opening for the second time everything works correctly (the selected item is visible in the drop-down list)

EnvironmentInfo
antd4.23.6
React18.2.0
SystemmacOS 12.6
Browserchrome 106.0.5249.119

相关问题