Skip to content

v2.0.4 - Fix virtualization infinite loop bug

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 20:44
· 4 commits to main since this release

Bug Fixes

  • Fixed critical infinite loop bug in virtualization scrolling logic that caused the webpage to hang and crash
    • Added proper loop bounds to scrollX and scrollY functions to prevent infinite loops when data is empty or dimensions are invalid
    • Added NaN/undefined guards for average_height and average_width calculations
    • Added safety limits to the refresh function to prevent runaway rendering

Changes

  • Expanded demo page to showcase 8 columns and 100 rows of sample data