From 31d5291c7990b963e909868d0ebb3b870ac2baa2 Mon Sep 17 00:00:00 2001 From: nekoya Date: Mon, 25 Mar 2024 21:25:31 +0900 Subject: [PATCH] [material-ui][Autocomplete] Display options provided to the `options` prop even if loading is true. (#41634) Co-authored-by: ZeeshanTamboli --- packages/mui-material/src/Autocomplete/Autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.js b/packages/mui-material/src/Autocomplete/Autocomplete.js index 5fcfc3d7abcad5..2aea5bf347fb6b 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.js @@ -630,7 +630,7 @@ const Autocomplete = React.forwardRef(function Autocomplete(inProps, ref) { ); let autocompletePopper = null; - if (!loading && groupedOptions.length > 0) { + if (groupedOptions.length > 0) { autocompletePopper = renderAutocompletePopperChildren(