We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a8368 commit 775e48dCopy full SHA for 775e48d
components/vc-table/Table.tsx
@@ -490,11 +490,15 @@ export default defineComponent<TableProps<DefaultRecordType>>({
490
}, 100);
491
};
492
493
- watch([horizonScroll, () => props.data, () => props.columns], () => {
494
- if (horizonScroll.value) {
495
- triggerOnScroll();
496
- }
497
- });
+ watch(
+ [horizonScroll, () => props.data, () => props.columns],
+ () => {
+ if (horizonScroll.value) {
+ triggerOnScroll();
498
+ }
499
+ },
500
+ { flush: 'post' },
501
+ );
502
503
const [scrollbarSize, setScrollbarSize] = useState(0);
504
useProvideSticky();
0 commit comments