Drag Handle Button
A button styled to look like a drag handleThis component does not use the
@atlaskit/button component, because @atlaskit/button cancels mousedown events and prevents dragging from occurring. Instead this component uses a native <button> element.Default
Small variant (deprecated)
The small variant has now been deprecated.
DragHandleButtonSmalluses a tiny icon size that is no longer supported by our icon system (the smallest icon size is now12pxx12px)- Icons smaller than
12pxx12pxare not good for visibility and accessibility - The small hitbox of
DragHandleButtonSmall(8pxx16px) is below our24pxx24pxminimum hit target size for accessibility. More details, (opens new window)
A small variant is available through the /drag-handle-button-small entrypoint.
It is intended for experiences with very limited space to accommodate a drag handle. It is not recommended for general use due to the small target size.
This component can be composed with Dropdown menu.
Because the Dropdown menu provides a triggerRef you will need to merge it with your own ref in
order to use the trigger as the dragHandle in your draggable() registration.