9.7 KiB
Executable File
9.7 KiB
Executable File
3.7.2 Parental Control
- Fixed a bug where a missing parent check would cause exceptions
3.7.1 Contrarian Views
- Bumped
contra@1.9.4
3.7.0 Party Like It's the End of the World
- Added a
canMovemethod that returns whetherdrakecan move a DOM element
3.6.8 Calculated Risk
- Fixed a bug where
drake.cancelwould misbehave whencopywastrue
3.6.7 Miscalculation
- Fixed a long-standing bug where candidate positioning would be off by one position
3.6.6 Living on the Edge
- Fixed a bug with clicks on IE7, IE8, IE9
3.6.5 Shadowbane
- Fixed a bug where
shadoweven would trigger multiple times when moving over the last position
3.6.4 Water Tap
- Fixed an instrumentation issue that prevented the tests from running
3.6.3 Body Double
- Fixed an issue that prevented
dragulafrom execution early in the document load life-cycle
3.6.2 Rugrats
- Fixed a touch events regression introduced in
3.6.1
3.6.1 Point Blank
- Fixed issues in touch-enabled browsers such as Windows Phone 10
3.6.0 Prognosis Negative
- Introduced support for
contentEditableDOM attribute
3.5.4 Parental Discretion
- Switched from
.parentElementto.parentNodeavoiding bugs when hovering over<svg>elements
3.5.3 Dragster
- Fixed a bug where mobile devices wouldn't be able to drag elements
3.5.2 Press Start
- Fixed a bug where
<select>inputs couldn't be focused
3.5.1 Which Hunt
- Fixed a bug when determining the mouse button being pressed
- Fixed a bug when determining the element behind the mouse cursor when
ignoreInputTextSelectionwas enabled
3.5.0 Input Fanatic
- Added a feature where users are able to select text ranges with their mouse in inputs within a dragula container
3.4.1 Input Accomodation
- Fixed a bug where text in inputs inside containers assigned to
dragulacouldn't be selected
3.4.0 Event Sourcing
- Events for
cancel,remove, andshadownow all provide asourceparameter in the third position
3.3.2 Captain Obvious
- Fixed a bug where
outwould be emitted with anundefinedcontainer
3.3.1 Significant Other
- Fixed a fringe bug (#207) where the click handler wouldn't work
- Fixed a bug where
dropevents would sometimes not receive the current sibling
3.3.0 Brotherhood
- The
options.movescallback now receives a fourth parameter, thesiblingfound afterel - The
dropevent now receives a fourth parameter, thesiblingfound afterel
3.2.0 Sortable Sauce
- You can now use
options.copySortSourceto enable sorting incopy-source containers
3.1.0 Copy Paste
- You can now set
options.copyto a method. It'll be invoked once per drag to ask whether the element being dragged should be treated as a copy or not - Fixed a bug where starting a drag programatically while an element was being dragged resulted in an exception
3.0.7 Crossroads
- Fixed a bug in Webpack builds by updating
crossventto1.5.3
3.0.5 Mouse Rat Rock Band
- Fixed a bug where
mousedownwould be prevented and focusing draggable inputs wouldn't be possible
3.0.4 IE is the old IE
- Fixed a bug in IE8 by updating
crossventto1.5.2
3.0.3 Forest Fire
- Fixed a bug in Firefox where dragging links and images would result in issues
3.0.2 Clickhood Rainforest
- Fixed a historical bug, where click on anchors would be ignored within
dragulacontainers in mobile - Fixed a bug where events wouldn't be gracefully removed if
drakewere destroyed during a drag event - Now emits
dragendafteroutto preserve consistency (becausedragis emitted beforeover) - Fixed another old bug where attempting to remove elements using
removeOnSpillon mobile would fail
3.0.1 Carjacking
- Fixed a bug in mobile, caused by
3.0.0, where scrolling would be impossible - Fixed a bug where dragging would cause text selection in IE8
3.0.0 Guilty Conscience
- Removed
addContainermethod, which was previously deprecated - Removed
removeContainermethod, which was previously deprecated - Removed
delayoption in favor of usingmousemove - Drag events now start on the first occurrence of a
mousemoveevent - If
mousemovenever fires, then thedragmachinery won't start, either - Changed default value for
invalid, now always returnsfalseby default - Added
mirrorContaineroption to determine where the mirror gets appended to (defaults todocument.body)
2.1.2 Shady Sibling
- Fixed a bug where
shadowwould trigger multiple times while dragging an element over the same spot
2.1.1 Classy Drake
- Fixed a bug where adding and removing classes might've caused issues on elements that had foreign CSS classes
- Added an argument to
clonedevent that specifies the kind of clone. Possible values includemirrorandcopyat the moment
2.1.0 Over and Out
- Added
overevent that fires whenever an element is dragged over a container (or whenever a drag event starts) - Added
outevent that fires whenever an element is dragged out of a container (or whenever a drag event ends)
2.0.7 Mayhem
- Fixed a bug caused in
2.0.6where anything would be regarded as adrakecontainer
2.0.6 Coruscant
- Fixed a bug where
isContainerwould be called with ael=nullin some situations
2.0.5 Cross Ventilation
- Bumped
crossvent@1.5.0
2.0.4 Transit Overload
- Set
gu-transitafter a drag event has fully started
2.0.3 Mice Trap
- Fixed a bug where using
.cancelwould throw an exception
2.0.2 Aural Emission
- Replaced
contra.emitterwithcontra@1.9.1/emitter
2.0.1 Copycat
- Fixed a bug where dragging a copy back to origin after hovering over another container would still result in a copy being made if you never spilled the item
2.0.0 Containerization
- Deprecated
addContainermethod - Deprecated
removeContainermethod - Exposed
dragula.containerscollection - Introduced dynamic
isContainermethod - Can now omit
containersargument todragula(containers, options) - Can now pass
containersas an option
1.7.0 Clickety Click
- Differentiate between drag and click using
delayoption - Ability to specify which event targets are
invaliddrag triggers
1.6.1 Shadow Drake
- Improved shadow positioning when
revertOnSpillistrue
1.6.0 Lonely Clown Clone
- Added
'cloned'event when a DOM element is cloned
1.5.1 Touchypants
- Fixed an issue where dragula didn't understand where an element was being dropped
1.5.0 Drag Racing
- Introduced drag handles so that elements could only be dragged from a handle element
1.4.2 Container Camp
- Fixed a bug where
addContainerandremoveContainerwouldn't update the list of available containers - Fixed a bug where
document.bodywould be accessed before it was available if the scripts were loaded in the<head>
1.4.1 Blood Prince
- Fixed an issue where manually started drag events wouldn't know if position changed when an item was dropped in the source container
- Added minor styling to
gu-mirror, to visually identify that a drag is in progress
1.4.0 Top Fuel
- Added a
dragendevent that's always fired - Added a
draggingproperty to API - Introduced manual
startAPI method - Introduced
addContainerandremoveContainerdynamic API
1.3.0 Terror
Introduced an .end instance API method that gracefully ends the drag event using the last known valid drop target.
1.2.4 Brother in Arms
- The
acceptsoption now takes a fourth argument,sibling, giving us a hint of the precise position the item would be dropped in
1.2.3 Breeding Pool
- Fixed a bug in cross browser behavior that caused the hover effect to ignore scrolling
- Fixed a bug where touch events weren't working in obscure versions of IE
1.2.2 Originality Accepted
- Improved
acceptsmechanism so that it always accepts the original starting point
1.2.1 Firehose
- Fixed a bug introduced in
1.2.0 - Fixed a bug where cancelling with
revertenabled wouldn't respect sort order
1.2.0 Firefly
- Introduced
movesoption, used to determine if an item is draggable - Added a
sourceparameter for thedropevent - Cancelling a drag event when
revertOnSpillistruewill now move the element to its original position in the source element instead of appending it - Fixed a bug where "cancellations" that ended up leaving the dragged element in the source container but changed sort order would trigger a
cancelevent instead ofdrop - Fixed a bug where "drops" that ended up leaving the element in the exact same place it was dragged from would end up triggering a
dropevent instead ofcancel - Added touch event support
1.1.4 Fog Creek
- Added
'shadow'event to enable easy updates to shadow element as it's moved
1.1.3 Drag Queen
- Fixed a bug where
dragulawouldn't make a copy if the element was dropped outside of a target container - If a dragged element gets removed for an instance that has
copyset totrue, acancelevent is raised instead
1.1.2 Eavesdropping
- Fixed a bug where "cancellations" that ended up leaving the dragged element somewhere other than the source container wouldn't trigger a
dropevent
1.1.1 Slipping Jimmy
- Fixed a bug where the movable shadow wouldn't update properly if the element was hovered over the last position of a container
1.1.0 Age of Shadows
- Added a movable shadow that gives visual feedback as to where a dragged item would be dropped
- Added an option to remove dragged elements when they are dropped outside of sanctioned containers
- Added an option to revert dragged elements back to their source container when they are dropped outside of sanctioned containers
1.0.1 Consuelo
- Removed
console.logstatement
1.0.0 IPO
- Initial Public Release