New to KendoReact? Start a free 30-day trial
Drag Hint
Drag HintPremium
You can configure the KendoReact useDraggable hook and Draggable component to use a different component for collision detection than the one registered for drag.
To configure a different component for collision detection, use either of the following approaches:
-
Pass the
hintargument to theuseDraggablehook.jsxuseDraggable(element, { ...callbacks }, { hint: handle }); -
Set the
hintproperty of theDraggablecomponent.
The following example demonstrates how to render a copy of the original element during drag.
Change Theme
Theme
Loading ...
Drag Handle
The following example demonstrates how to implement a drag handle by enabling dragging only through the move icon, while using the whole element for collision detection.
Change Theme
Theme
Loading ...