diff --git a/src/Table/Table.js b/src/Table/Table.js index 307c22036..e2f97b69d 100644 --- a/src/Table/Table.js +++ b/src/Table/Table.js @@ -56,6 +56,8 @@ class Table extends React.Component { this.cachedIDs = []; this.container = window; + this.containerRef = React.createRef(); + this.headersRef = React.createRef(); this.itemHeightContainer = React.createRef(); } @@ -316,8 +318,8 @@ class Table extends React.Component { const itemHeight = state.itemHeight || props.itemHeight || 0; return ( -