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 7a1383f commit 2b27ea6Copy full SHA for 2b27ea6
packages/ve-table/src/index.jsx
@@ -985,7 +985,10 @@ export default {
985
986
//this.$refs[this.tableContentRef].style.transform = `translate3d(0,${startOffset}px,0)`;
987
window.requestAnimationFrame(() => {
988
- this.$refs[this.tableContentRef].style.top = `${startOffset}px`;
+ const ele = this.$refs[this.tableContentRef];
989
+ if (ele) {
990
+ ele.style.top = `${startOffset}px`;
991
+ }
992
});
993
},
994
// get virtual scroll start index
0 commit comments