mirror of https://github.com/apache/superset.git
feat(native-filters): Don't scroll main window when scrolling filter bar (#18876)
This commit is contained in:
parent
700829b74a
commit
e5c7478026
|
@ -327,7 +327,10 @@ const FilterBar: React.FC<FiltersBarProps> = ({
|
|||
filterValues,
|
||||
);
|
||||
const isInitialized = useInitialization();
|
||||
const tabPaneStyle = useMemo(() => ({ overflow: 'auto', height }), [height]);
|
||||
const tabPaneStyle = useMemo(
|
||||
() => ({ overflow: 'auto', height, overscrollBehavior: 'contain' }),
|
||||
[height],
|
||||
);
|
||||
|
||||
const numberOfFilters = filterValues.filter(
|
||||
filterValue => filterValue.type === NativeFilterType.NATIVE_FILTER,
|
||||
|
|
Loading…
Reference in New Issue