Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-2271

Error for lazy tc:sheet with only one row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.9.0
    • 5.10.0, 6.2.0
    • JavaScript

    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

       

      Attachments

        1. error.PNG
          31 kB
          Verena Schreyer

        Activity

          People

            bommel Bernd Bohmann
            verenaschreyer Verena Schreyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: