Selection Versions Save

✨ Viselect - A high performance and lightweight library to add a visual way of selecting elements, just like on your Desktop. Zero dependencies, super small. Support for major frameworks!

v3.2.3

1 year ago

Bug fixes

  • Add missing events for the react / preact / vue packages. (#188)

v3.2.2

1 year ago

Bug fixes

  • Fix incorrectly fired events when selection starts (#186)

v3.2.1

1 year ago

Bug fixes

  • Fix issues with scrollable containers (#185)

v3.2.0

1 year ago

Bug fixes

  • Performing a range-select after manually selecting an element now behaves as expected (the first element is used as root) (#184)

Features

  • It's now possible to pass an id to the contain in react/preact (#176, thanks to @Olivia-li!)
  • getComposePath is now stable enough to use it directly instead of using a polyfill!
  • clearSelection now behaves the same way as deselect and triggers both the move and stop events - less things to handle yourself when clearing a selection 🥳
  • Remove legacy trigger function and do no longer return a boolean in deselect.

v3.1.1

1 year ago

Bug fixes

  • Fix possible error with very large amounts of selectables (#175)

v3.1.0

1 year ago

This release brings many long awaited bug-fixes and improvements :)

Bug fixes

  • Fix issue with not properly cleared state after manual (de-)selection. (#161)
  • On manual selection the stop and start-event are now emitted as well, making it easier to control it via JS.
  • Fix broken scrolling on Safari. (#140)

Improvements

  • Dependency updates, the react-package for example is now using createRoot.
  • Add missing documentation to the README.

v3.0.0

1 year ago

This is a small release with an update for vue and a long awaited bug-fix. I plan to investigate currently reported issues / implement requested features this summer.

Bug fixes

  • The current selection is now available in the stop-event. (#157)

Improvements

  • <script setup> is now used for the vue component which gives us full type-script support for the SelectionArea-component.

v3.0.0-beta.13

2 years ago

Bug fixes

  • Fix auto-scrolling (#150 )

Improvements

  • Improve type-base for react/preact (#149)

v3.0.0-beta.12

2 years ago

Bug fixes

  • Fix incorrect reference element for range selections (#138)

Improvements

  • Each frame is now aligned with the current framerate (#96)

v3.0.0-beta.11

2 years ago

Bug fixes

  • Fix bug with duplicate elements in range selection (#137)

Features

  • Add beforedrag event (#135)