Skip to content

Commit

Permalink
fix: native filter dropdown not attached to parent node (#19399)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 authored Apr 6, 2022
1 parent e118b4d commit c5b0dc3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down

0 comments on commit c5b0dc3

Please sign in to comment.