Skip to content

Commit

Permalink
fix: Select clear and loading icons overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Mar 8, 2022
1 parent f9c7405 commit d303951
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 d303951

Please sign in to comment.