Skip to content

Commit f8f2793

Browse files
committed
* fix selectbox not working just by keyboard
1 parent 3c844c3 commit f8f2793

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SelectBox/SelectBox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const SelectBox = React.forwardRef(function SelectBox(props, ref) {
4949
selectedListItemRef.current.scrollIntoView({
5050
block: 'start'
5151
});
52+
listRef.current.focus();
5253
}, [selectedListItemRef]);
5354

5455
const handleClickOnItem = itemValue => {

0 commit comments

Comments
 (0)