You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -184,7 +184,7 @@ The difference is especially noticeable if we drag the ball by its right-bottom
184
184
185
185
In previous examples the ball could be dropped just "anywhere" to stay. In real-life we usually take one element and drop it onto another. For instance, a file into a folder, or a user into a trash can or whatever.
186
186
187
-
Abstractly, we take a "draggable" element and drop it onto "droppable" element.
187
+
In other words, we take a "draggable" element and drop it onto "droppable" element.
188
188
189
189
We need to know the target droppable at the end of Drag'n'Drop -- to do the corresponding action, and, preferably, during the dragging process, to highlight it.
190
190
@@ -211,7 +211,7 @@ For instance, below are two `<div>` elements, red on top of blue. There's no way
The same with a draggable element. The ball in always on top over other elements, so events happen on it. Whatever handlers we set on lower elements, they won't work.
214
+
The same with a draggable element. The ball is always on top over other elements, so events happen on it. Whatever handlers we set on lower elements, they won't work.
215
215
216
216
That's why the initial idea to put handlers on potential droppables doesn't work in practice. They won't run.
0 commit comments