mirror of https://github.com/apache/superset.git
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 || []}
|
||||
disabled={isDisabled}
|
||||
getPopupContainer={
|
||||
showOverflow ? () => parentRef?.current : undefined
|
||||
showOverflow
|
||||
? () => parentRef?.current
|
||||
: (trigger: HTMLElement) => trigger?.parentNode
|
||||
}
|
||||
showSearch={showSearch}
|
||||
mode={multiSelect ? 'multiple' : 'single'}
|
||||
|
|
Loading…
Reference in New Issue