Repository navigation
Releases
Releases · chalabi2/svelte-sheets
v2.0.7
v2.0.6
v2.0.5 - Fix column width parsing
Bug Fixes
- Fixed column width parsing - The
defaultColWidthconfig option was not being parsed correctly when provided as a string with 'px' suffix (e.g. '140px'), causing NaN values in width calculations and only showing column A. - Added
getDefaultColWidth()helper function to properly handle both string and numeric width values
v2.0.4 - Fix virtualization infinite loop bug
Bug Fixes
- Fixed critical infinite loop bug in virtualization scrolling logic that caused the webpage to hang and crash
- Added proper loop bounds to
scrollXandscrollYfunctions to prevent infinite loops when data is empty or dimensions are invalid - Added NaN/undefined guards for
average_heightandaverage_widthcalculations - Added safety limits to the
refreshfunction to prevent runaway rendering
- Added proper loop bounds to
Changes
- Expanded demo page to showcase 8 columns and 100 rows of sample data