|
@@ -107,10 +107,10 @@ export function useTableScroll({
|
|
|
}
|
|
}
|
|
|
calcTableHeight(dataSource || _dataSource)
|
|
calcTableHeight(dataSource || _dataSource)
|
|
|
}
|
|
}
|
|
|
- const { run: debounceRedoHeight } = useDebounceFn(redoHeight, { wait: 180 })
|
|
|
|
|
|
|
+ const { run: debounceRedoHeight } = useDebounceFn(redoHeight, { wait: 80 })
|
|
|
|
|
|
|
|
- // Greater than animation time 180
|
|
|
|
|
- useWindowSizeFn(() => debounceRedoHeight(), 180)
|
|
|
|
|
|
|
+ // Greater than animation time 80
|
|
|
|
|
+ useWindowSizeFn(() => debounceRedoHeight(), 80)
|
|
|
|
|
|
|
|
useUpdateLayoutEffect(() => {
|
|
useUpdateLayoutEffect(() => {
|
|
|
debounceRedoHeight()
|
|
debounceRedoHeight()
|