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
Copy file name to clipboardExpand all lines: packages/documentation-site/patternfly-docs/content/design-guidelines/components/drag-and-drop/drag.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@ import '../components.css';
13
13

14
14
</div>
15
15
16
-
2.**Bounding box:** Upon click & hold a `--pf-v6-global--active-color--100` border will show the draggable area that is available.
16
+
2.**Ghost item:** Upon click and hold, a duplicate "ghost" item with a `--pf-v6-global--active-color--100` border will appear "on top" of the list. This ghost item represents the initial item being moved.
17
17
18
-
3.**onDrag event:**The list item being dragged will also use a `--pf-v6-global--active-color--100` border to highlight it as the item being dragged and all other list items will switch to a disabled state. The space where the item is being dragged from will remain empty to indicate its original position in the list.
18
+
3.**onDrag event:**While a ghost item is being dragged, the original item will move its position in the list to align with the hovered position.
19
19
20
20
<divclass="ws-docs-content-img">
21
21

22
22
</div>
23
23
24
-
4.**postDrag event:** Once dropped, the items will be reordered based on the user’s action. The space left empty is then filled by the next item in the list.
24
+
4.**postDrag event:** Once dropped, the ghost item will become an item in the list, which will be reordered based on the user’s action.
25
25
26
26
<divclass="ws-docs-content-img">
27
27

0 commit comments