Skip to content

Commit baf294a

Browse files
committed
docs: document new disableAutoScroll prop in README.
1 parent b39749e commit baf294a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export default () => (
122122
| dropdownRender | render custom dropdown menu | (menu: React.Node) => ReactNode | - |
123123
| loading | show loading icon in arrow | boolean | false |
124124
| virtual | Disable virtual scroll | boolean | true |
125+
| disableAutoScroll | Disable auto scroll to selected option | boolean | false |
125126
| direction | direction of dropdown | 'ltr' \| 'rtl' | 'ltr' |
126127
| optionRender | Custom rendering options | (oriOption: FlattenOptionData\<BaseOptionType\> , info: { index: number }) => React.ReactNode | - |
127128
| labelRender | Custom rendering label | (props: LabelInValueType) => React.ReactNode | - |

0 commit comments

Comments
 (0)