Skip to content

Commit

Permalink
fix: Select clear and loading icons overlap (#19070)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Mar 9, 2022
1 parent fd154f7 commit 79a7a5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset-frontend/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ const getQueryCacheKey = (value: string, page: number, pageSize: number) =>
*/
const Select = (
{
allowClear,
allowNewOptions = false,
ariaLabel,
fetchOnlyOnSearch,
Expand Down Expand Up @@ -668,6 +669,7 @@ const Select = (
<StyledContainer>
{header}
<StyledSelect
allowClear={!isLoading && allowClear}
aria-label={ariaLabel || name}
dropdownRender={dropdownRender}
filterOption={handleFilterOption}
Expand Down

0 comments on commit 79a7a5d

Please sign in to comment.