Drag Gesture Demo - Custom Bounds Constraints

This demo demonstrates custom boundary constraints that prevent dragging beyond specific limits:

Visual Legend

Forbidden Zone

Test Case: Sticky Element Drag with Initial Scroll

Current scroll: 0px
STICKY
Try dragging with scroll = 0, then set scroll = 200px and try again
The sticky element should respect bounds constraints in both cases

Case 1: Horizontal Custom Bounds (customLeftBound: 100px, customRightBound: 500px)

DRAG H

Case 2: Vertical Custom Bounds (customTopBound: 100px, customBottomBound: 400px)

DRAG V
Drag Position Info
Horizontal: Not dragging
Vertical: Not dragging
Bounds: Hover to see limits