Skip to content

v3.0.3 — Bug Fixes

Choose a tag to compare

@ANIBIT14 ANIBIT14 released this 02 Apr 05:15
· 298 commits to main since this release

Bug Fixes

Vue Components

  • SparklineChart: Fixed crash when data prop is an empty array (Math.min/max spread on empty array)
  • RadialBarChart: Fixed crash when data prop is an empty array
  • GaugeChart: Fixed NaN percentage when max === min (now defaults to 50%)
  • Slider: Active pointermove/pointerup document listeners are now properly removed in onUnmounted if the component is destroyed during an active drag

React Components

  • Slider: Keyboard navigation timeout is now stored in a ref and cleared on unmount, preventing a potential state update on an unmounted component
  • Dropzone: reset() now also clears the hidden file input's value, so re-selecting the same file correctly triggers onChange

Hooks

  • use-framework: Removed redundant useEffect that re-read localStorage after the useState initializer already did, eliminating an unnecessary extra render on mount