diff --git a/packages/mui-base/src/useAutocomplete/useAutocomplete.js b/packages/mui-base/src/useAutocomplete/useAutocomplete.js index e2ca22f9d628fa..e886114be8db78 100644 --- a/packages/mui-base/src/useAutocomplete/useAutocomplete.js +++ b/packages/mui-base/src/useAutocomplete/useAutocomplete.js @@ -307,7 +307,7 @@ export function useAutocomplete(props) { ? false : !option || option.disabled || option.getAttribute('aria-disabled') === 'true'; - if ((option && option.hasAttribute('tabindex')) && !nextFocusDisabled) { + if (option && option.hasAttribute('tabindex') && !nextFocusDisabled) { // The next option is available return nextFocus; }