Skip to content

Commit

Permalink
fix(table): re-render table when scroll change
Browse files Browse the repository at this point in the history
  • Loading branch information
Loongphy committed Jan 28, 2024
1 parent 6678afb commit d8ed0a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/web-vue/components/table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1501,9 +1501,10 @@ export default defineComponent({
const tableCls = computed(() => {
const cls = getTableFixedCls();

if (isScroll.value.x) {
cls.push(getTableScrollCls());
}
// fix #2927 Re-render when scrolling to the far left or far right
// if (isScroll.value.x) {
// cls.push(getTableScrollCls());
// }

if (splitTable.value) {
cls.push(`${prefixCls}-scroll-y`);
Expand Down

0 comments on commit d8ed0a3

Please sign in to comment.