Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.9.0
Description
If the property "lazy" for tc:sheet is set to "true" and there is only one row in the sheet the following error occurs:
Uncaught TypeError: Cannot read properties of undefined (reading 'offsetTop')
at get firstVisibleRowIndex [as firstVisibleRowIndex] (tobago-sheet.ts:345:33)
at HTMLElement.nextLazyLoad (tobago-sheet.ts:404:39)
at HTMLElement.lazyCheck (tobago-sheet.ts:389:23)
at HTMLElement.connectedCallback (tobago-sheet.ts:248:12)
at HTMLDocument.<anonymous> (tobago-sheet.ts:970:27)
at tobago-all.ts:65:12
at tobago.js:1:62
at tobago.js:1:66