Skip to content

Releases: ThibaultJanBeyer/DragSelect

Version 2.4.1

09 Oct 18:46
Compare
Choose a tag to compare
  • Change all Properties dynamically anytime. Solves #111 and #95. Very helpful for async libraries like react. You can do so using the setSettings method, you can pass any settings in the object and they will be updated. Example: update the drag area at any time by running: ds.setSettings({ area: document.getElementById("new-area") }).
  • Remove deprecated keys ctrlKey, shiftKey and metaKey. Use Control, Shift and Meta respectively instead.
  • Remove deprecated method getCursorPositionDifference. Calculate the difference on your own instead.
  • Remove deprecated setting property callbacks. Use DragSelect.subscribe("callback", (callbackObject) => {}) instead.

Version 2.3.1

02 Apr 22:10
8ba5350
Compare
Choose a tag to compare
  • Fix bug #109 where inner elements are ignored from normal drag behaviour

Version 2.3.0

24 Dec 20:47
Compare
Choose a tag to compare
  • Fix bug with break not working. (still handling change)
  • Fix bug with pre events not working properly.
  • Caution:
    • This upgrade changes the order in which the callbacks are fired. The normal callbacks are fired in a FIFO order, first in, first out. The pre callbacks are fired in a LIFO order, last in first out.
    • Pre Events are now really triggered before the whole action.

Version 2.2.2

19 Jul 16:34
Compare
Choose a tag to compare

2.2.2

  • Add a check whether the initial click was issued within the area
  • Fixes #105

Version 2.2.1

19 Jul 14:43
700819b
Compare
Choose a tag to compare
  • removes generated dom-nodes when using .stop
  • fixes #94

Version 2.2.0

19 Jul 13:46
Compare
Choose a tag to compare
  • Add new possible callback value: isDraggingKeyboard
  • Add new settings prop keyboardDrag: false
  • Add pre events for all events. i.e. predragstart, predragmove, etc.
  • Add information on 3rd party integration to the README.
  • Re-add break functionality to give maximum flexibility on 3rd party integration

All these changes solve #80

Version 2.1.2

18 Jul 18:43
Compare
Choose a tag to compare
  • Fixes build error bug introduced by typings. Solves #100
    Issue: the JS-Docs file types.js was not included in d.ts files. Now rollup builds are force-including it.

Version 2.1.0

06 Jul 06:58
Compare
Choose a tag to compare
  • Fixes bug #83: keyboard dragging is not disabled when draggability is disabled
  • Adds typescript support by adding types files to dist as specified in issue #93
  • Un-track dist file for better dev.

Version 2.0.3

31 May 08:50
Compare
Choose a tag to compare
  • Fix the behavior of modules/SelectableSet.removeSelectables method, solves #90 thanks to @lchtao26 for the contribution!

Version 2.0.2

07 Jan 09:13
8c77a32
Compare
Choose a tag to compare
  • Fix element position when useTransform: false issue