mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
fix: native filter dropdown not attached to parent node (#19399)
This commit is contained in:
parent
e118b4d733
commit
c5b0dc3ea6
@ -306,7 +306,9 @@ export default function PluginFilterSelect(props: PluginFilterSelectProps) {
|
|||||||
value={filterState.value || []}
|
value={filterState.value || []}
|
||||||
disabled={isDisabled}
|
disabled={isDisabled}
|
||||||
getPopupContainer={
|
getPopupContainer={
|
||||||
showOverflow ? () => parentRef?.current : undefined
|
showOverflow
|
||||||
|
? () => parentRef?.current
|
||||||
|
: (trigger: HTMLElement) => trigger?.parentNode
|
||||||
}
|
}
|
||||||
showSearch={showSearch}
|
showSearch={showSearch}
|
||||||
mode={multiSelect ? 'multiple' : 'single'}
|
mode={multiSelect ? 'multiple' : 'single'}
|
||||||
|
Loading…
Reference in New Issue
Block a user