Skip to content

Commit 647b2e0

Browse files
Update CHANGELOG.md
1 parent 3342191 commit 647b2e0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# 2.0.0 (2016-12-25)
2+
3+
## Changes
4+
5+
There have been some major changes to how the directive works internally, although these changes should not affect users of the library.
6+
7+
- **Simpler placeholder positioning algorithm**: The logic for placeholder positiong is unchanged, i.e. the placeholder will be placed after an element if the mouse cursor is in the second half of the element it is hovering over, otherwise it is placed before it. However, the implementation of this algorithm was massively simplified by using `getBoundingClientRect`. As a result, developers are no longer required to have `position: relative` on the list and list item elements.
8+
- **New dataTransfer algorithm**: The directive now uses custom mime types in modern browsers, and falls back to using `Text` in non-standard comform browsers. As a result, dragged elements can no longer be dropped into arbitrary input fields. More details on how this works can be found in the [design document](https://github.com/marceljuenemann/angular-drag-and-drop-lists/wiki/Data-Transfer-Design).
9+
- **Internal test infrastructure**: The mocks used for drag and drop events in unit tests are now much nicer.
10+
11+
## Tested browsers
12+
13+
- Chrome 55 (Mac, Ubuntu & Windows 10)
14+
- Firefox 50 (Ubuntu)
15+
- Safari 10 (Mac)
16+
- Microsoft Edge 20 (Windows 10)
17+
- Internet Explorer 11 (Windows 10)
18+
- Internet Explorer 9 (Windows Vista)
19+
20+
121
# 1.4.0 (2016-02-06)
222

323
## Features

0 commit comments

Comments
 (0)