1 | Drag and Drop Release Notes |
---|
2 | |
---|
3 | 2.6.0 |
---|
4 | * Fixed issue with loop when mouseup occured outside of an iframe in Internet Explorer |
---|
5 | * Added useShim flag to DragDropMgr to place a shim over the page during a drag operation. |
---|
6 | It must be set by hand to be backward compatible. This will allow a draggable element |
---|
7 | to pass over things like an IFRAME without interrupting the drag movement. |
---|
8 | YAHOO.util.DDM.useShim = true; |
---|
9 | |
---|
10 | 2.5.2 |
---|
11 | * Fixed iframe src attribute for DDProxy (SSL Error in IE6) |
---|
12 | * Fixed typos in documentation |
---|
13 | * Fixed potential Stack Overflow with mousedown threshold |
---|
14 | |
---|
15 | 2.5.1 |
---|
16 | * No change |
---|
17 | |
---|
18 | 2.5.0 |
---|
19 | * Added CustomEvents in addition to method overrides |
---|
20 | (See API Docs for more information) |
---|
21 | * Added an IFRAME element to the proxy div (only in IE) to keep select |
---|
22 | elements and other object from bleeding through |
---|
23 | |
---|
24 | 2.4.0 |
---|
25 | * Added configuration option called "dragOnly". If dragOnly is set to true, |
---|
26 | all event in the fireEvents method will not fire. These events are: |
---|
27 | onInvalidDrop |
---|
28 | b4DragOut & onDragOut |
---|
29 | onDragEnter |
---|
30 | b4DragOver & onDragOver |
---|
31 | b4DragDrop & onDragDrop |
---|
32 | This config option should be used to drag elements that have no need for |
---|
33 | drop interaction. They are elements that just need to move. |
---|
34 | |
---|
35 | 2.3.1 |
---|
36 | * No change |
---|
37 | |
---|
38 | 2.3.0 |
---|
39 | * YAHOO.util.DragDropMgr.stopDrag is now public, and can be used to cancel |
---|
40 | a drag in progress. An optional "silent" flag was added to skip the |
---|
41 | onMouseUp and endDrag functions when needed (eliminating the need to |
---|
42 | supply mouseup page coordinates to these functions). |
---|
43 | * DDProxy: the position of the proxy is not set before the drag is confirmed, |
---|
44 | preventing auto-scroll from distrupting the user experience. |
---|
45 | * Modified the default proxy so that IE properly registers the proxy as |
---|
46 | the event target during the drag. |
---|
47 | * If a dd instance is created using a dom reference rather than an id, that |
---|
48 | reference is stored and used throughout making it possible to control |
---|
49 | instances outside the current window. |
---|
50 | * The document mousemove listener no longer returns true. |
---|
51 | |
---|
52 | 2.2.2 |
---|
53 | * No change |
---|
54 | |
---|
55 | 2.2.1 |
---|
56 | |
---|
57 | * Added YAHOO.util.DragDropMgr.interactionInfo, which is |
---|
58 | a repository of interaction information accumulated during |
---|
59 | the current event loop result, and accessible from the |
---|
60 | handlers for the events. |
---|
61 | * The region for the dragged element is now cached while |
---|
62 | processing the drag and drop events |
---|
63 | * List example supports moving an item to an empty list |
---|
64 | * Fixed missing html tags in the examples |
---|
65 | * The debug version now works when included before the logger is included. |
---|
66 | |
---|
67 | 2.2.0 |
---|
68 | |
---|
69 | * onMouseDown event is executed before element positions are calculated |
---|
70 | * refreshCache refreshes everything if groups array is not provided |
---|
71 | * setX/setYConstraint doesn't fail when presented ints cast as strings |
---|
72 | |
---|
73 | 0.12.2 |
---|
74 | |
---|
75 | * No change |
---|
76 | |
---|
77 | 0.12.1 |
---|
78 | |
---|
79 | * Added a STRICT_INTERSECT drag and drop interaction mode. This alters the |
---|
80 | behavior of DDM::getBestMatch. INTERSECT mode first tests the cursor |
---|
81 | location, and if it is over the target that target wins, otherwise it |
---|
82 | tests the overlap of the elements. STRICT_INTERSECT mode tests only |
---|
83 | the overlap, the largest overlap wins. |
---|
84 | |
---|
85 | * getBestMatch will work for targeted elements that have no overlap. |
---|
86 | |
---|
87 | 0.12.0 |
---|
88 | |
---|
89 | * The logic to determine if a drag should be initiated has been isolated |
---|
90 | to the clickValidator method. This method can be overridden to provide |
---|
91 | custom valdiation logic. For example, it is possible to specify hotspots |
---|
92 | of any dimension or shape. The provided example shows how to make only |
---|
93 | a circular region in the middle of the element initiate a drag. |
---|
94 | |
---|
95 | * Added a new drag and drop event: onInvalidDrop. This is executed when |
---|
96 | the dragged element in dropped in a location without a target. Previously |
---|
97 | this condition could only detected by implementing handlers for three |
---|
98 | other events. |
---|
99 | |
---|
100 | * Now accepts an element reference in lieu of an id. Ids will |
---|
101 | be generated if the element does not have one. |
---|
102 | |
---|
103 | * Fixed horizontal autoscroll when scrollTop is zero. |
---|
104 | |
---|
105 | * Added hasOuterHandles property to bypass the isOverTarget check in the |
---|
106 | mousedown validation routine. Fixes setOuterHandleElId. |
---|
107 | |
---|
108 | 0.11.4 |
---|
109 | |
---|
110 | * YAHOO.util.DragDropMgr.swapNode now handles adjacent nodes properly |
---|
111 | |
---|
112 | * Fixed missing variable declarations |
---|
113 | |
---|
114 | 0.11.3 |
---|
115 | |
---|
116 | * Fixed a JavaScript error that would be generated when trying to implement |
---|
117 | DDProxy using the default settings and a tiny element. |
---|
118 | |
---|
119 | * Fixed an error that resulted when constraints were applied to DragDrop |
---|
120 | instances. |
---|
121 | |
---|
122 | 0.11.2 |
---|
123 | |
---|
124 | * Drag and drop will no longer interfere with selecting text on elements |
---|
125 | that are not involved in drag and drop. |
---|
126 | |
---|
127 | * The shared drag and drop proxy element now resizes correctly when autoResize |
---|
128 | is enabled. |
---|
129 | |
---|
130 | 0.11.1 |
---|
131 | |
---|
132 | * Fixes an issue where the setXY cache could get out of sync if the element's |
---|
133 | offsetParent is changed during onDragDrop. |
---|
134 | |
---|
135 | 0.11.0 |
---|
136 | |
---|
137 | * The Dom.util.setXY calculation for the initial placement of the dragged |
---|
138 | element is cached during the drag, enhancing the drag performance. |
---|
139 | |
---|
140 | * DDProxy no longer enforces having a single proxy element for all instances. |
---|
141 | dragElId can be set in the config object in the constructor. If the |
---|
142 | element already exists it will use that element, otherwise a new one will |
---|
143 | be created with that id. |
---|
144 | |
---|
145 | * DDProxy->borderWidth has been removed. The value is calculated on the fly |
---|
146 | instead. |
---|
147 | |
---|
148 | * Added DragDrop->clearTicks and DragDrop->clearConstraints |
---|
149 | |
---|
150 | * All drag and drop constructors now have an additional, optional parameter |
---|
151 | call "config". It is an object that can contain properties for a |
---|
152 | number of configuration settings. |
---|
153 | |
---|
154 | * Drag and drop will not be disabled for elements that cannot have their |
---|
155 | location determined. |
---|
156 | |
---|
157 | * isLegalTarget won't return dd objects that are not targetable. |
---|
158 | |
---|
159 | * Added DragDrop->removeFromGroup. |
---|
160 | |
---|
161 | * Constraints are now applied properly when determining which drag and drop |
---|
162 | events should fire. |
---|
163 | |
---|
164 | |
---|
165 | 0.10.0 |
---|
166 | |
---|
167 | * Improved the performance when in intersect mode |
---|
168 | |
---|
169 | * It was possible for the drag and drop initialization to be skipped |
---|
170 | for very slow loading pages. This was fixed. |
---|
171 | |
---|
172 | * New methods to exclude regions within your drag and drop element: |
---|
173 | addInvalidHandleId(), addInvalidHandleClass() |
---|
174 | |
---|
175 | * Added an onAvailable handler that is executed after the initial state is set. |
---|
176 | |
---|
177 | * Drag and drop is more forgiving when the implementer attempts to create the |
---|
178 | instance prior to the element being in the document, but after the window |
---|
179 | load event has fired. |
---|
180 | |
---|