[ https://issues.apache.org/jira/browse/TOBAGO-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795900#comment-17795900 ]
Bernd Bohmann commented on TOBAGO-2271: --------------------------------------- There is a composite component? Can you provide some example code? > 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 > Components: JavaScript > Affects Versions: 5.9.0 > Reporter: Verena Schreyer > Assignee: Henning Nöth > Priority: Major > Labels: sheet > Attachments: error.PNG > > > 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} > > {color:#ff0000}!error.PNG|height=250,width=600!{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)