Verena Schreyer created TOBAGO-2271:
---------------------------------------

             Summary: Error for lazy tc:sheet with only one row
                 Key: TOBAGO-2271
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2271
             Project: MyFaces Tobago
          Issue Type: Bug
            Reporter: Verena Schreyer


If the property "lazy" for tc:sheet is set to "true" and there is only one row 
in the sheet the following error occurs:

 

{color:#FF0000}Uncaught TypeError: Cannot read properties of undefined (reading 
'offsetTop'){color}
{color:#FF0000}    at get firstVisibleRowIndex [as firstVisibleRowIndex] 
(tobago-sheet.ts:345:33){color}
{color:#FF0000}    at HTMLElement.nextLazyLoad (tobago-sheet.ts:404:39){color}
{color:#FF0000}    at HTMLElement.lazyCheck (tobago-sheet.ts:389:23){color}
{color:#FF0000}    at HTMLElement.connectedCallback 
(tobago-sheet.ts:248:12){color}
{color:#FF0000}    at HTMLDocument.<anonymous> (tobago-sheet.ts:970:27){color}
{color:#FF0000}    at tobago-all.ts:65:12{color}
{color:#FF0000}    at tobago.js:1:62{color}
{color:#FF0000}    at tobago.js:1:66{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to