Skip to content

Commit 829094f

Browse files
rusackasclaude
andcommitted
fix(select): wire DROPDOWN_BUILTIN_PLACEMENTS into AsyncSelect
Mirrors the static Select wrapper so AsyncSelect dropdowns keep the #36963 fix (disabled horizontal viewport adjustment) after the antd v6 upgrade, instead of falling back to antd's default placements. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent da9e4a8 commit 829094f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • superset-frontend/packages/superset-ui-core/src/components/Select

superset-frontend/packages/superset-ui-core/src/components/Select/AsyncSelect.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ import {
8686
MAX_TAG_COUNT,
8787
TOKEN_SEPARATORS,
8888
DEFAULT_SORT_COMPARATOR,
89+
DROPDOWN_BUILTIN_PLACEMENTS,
8990
} from './constants';
9091

9192
const Error = ({ error }: { error: string }) => (
@@ -791,6 +792,7 @@ const AsyncSelect = forwardRef(
791792
placeholder={placeholder}
792793
showSearch={shouldShowSearch}
793794
tokenSeparators={tokenSeparators}
795+
builtinPlacements={DROPDOWN_BUILTIN_PLACEMENTS}
794796
value={selectValue}
795797
suffixIcon={getSuffixIcon(
796798
isLoading,

0 commit comments

Comments
 (0)