Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,15 @@ export default function useAutocomplete(props) {
};

const handleBlur = event => {
// Ignore the event when using the scrollbar with IE 11
if (
listboxRef.current !== null &&
document.activeElement === listboxRef.current.parentElement
) {
inputRef.current.focus();
return;
}

setFocused(false);
firstFocus.current = true;
ignoreFocus.current = false;
Expand Down