Drag: Lock direction
An example of locking the drag direction of an element based on its initial drag direction using Motion for React's dragDirectionLock prop.

An example of locking the drag direction of an element based on its initial drag direction using Motion for React's dragDirectionLock prop.
Motion is supported by the best in the industry.