-
Notifications
You must be signed in to change notification settings - Fork 441
/
TODO
15 lines (15 loc) · 832 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- [0/3] bugs
- [ ] last Pointer is NaN in search valid target
- [ ] prevent infinite recursion
- [ ] bootstrap example jumps up on drop
- (only sometimes. preventDefault() does not work if called inside drop or on containing element. Look up where the on handler attaches itself)
- only firefox, chrome works
- [0/6] consider
- [ ] better name for searchValidTarget
- [ ] shortcut on getNearest()
- [ ] if items, break if distance is growing again
- [ ] if containers, break if distance is 0
- [ ] only calculate top/bottom if vertical and left/right if horizontal
- [ ] support placeholder with height/width
- [ ] calculate item/container dimensions relative to the container => Not all centers have to be recalculated
- [ ] change subContainers handling, so that it becomes easier to remove them