Skip to content

Commit

Permalink
fix: Select clear and loading icons overlap (#19070)
Browse files Browse the repository at this point in the history
(cherry picked from commit 79a7a5d)
  • Loading branch information
michael-s-molina authored and villebro committed Apr 3, 2022
1 parent 56b1144 commit 3729df2
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 3729df2

Please sign in to comment.