Skip to content

Releases

v2.0.7

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 23:35

fix event creation

v2.0.6

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 21:09

Features

  • Add proper booleans

v2.0.5 - Fix column width parsing

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 20:43

Bug Fixes

  • Fixed column width parsing - The defaultColWidth config 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

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 20:44

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

v2.0.3

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 19:47

Fixes

  • Fix SSR compatibility - move hotkeys initialization to onMount
  • Fix initial render issues - initialize topLeft/bottomRight with defaults
  • Fix virtual scroll not rendering on page load
  • Fix scroll position checks to allow 0 values

v2.0.2

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 18:47

Summary

  • Fix selection overlay positioning and reduce expensive layout loops
  • Hide overlays when cells are offscreen to avoid stale rendering
  • Hide drag handle when read-only or hover disabled

v2.0.1

Choose a tag to compare

@chalabi2 chalabi2 released this 28 Jan 18:24

Summary

  • Fix XLSX ESM imports to avoid default export errors
  • Improve hover/selection performance and add disableHover/readOnly theming
  • Update package metadata and README examples