Merge pull request #2111 from RickCole21/1.1.x

1.1.x Select 高亮问题
This commit is contained in:
RickCole 2021-06-17 15:53:31 +08:00 committed by GitHub
commit ba29156bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -581,7 +581,7 @@ export class Select extends React.Component<SelectProps, SelectState> {
};
break;
case DownshiftChangeTypes.controlledPropUpdatedSelectedItem:
break;
case DownshiftChangeTypes.changeInput:
update.highlightedIndex = 0;
break;