Drag Region Values
bare / no value → self (direct clicks only)
"deep" → deep (subtree clicks)
"false" → disabled (drag blocked)
QA Test Cases - Try Dragging Each Section
1. No Attribute (Default - Should NOT Drag)
No data-tauri-drag-region attribute
2. Bare Attribute (Self Only - Should Drag Direct Click)
data-tauri-drag-region (bare)
3. Deep Attribute (Should Drag from Subtree)
data-tauri-drag-region="deep"
Nested content - should also drag from here
4. False Attribute (Drag Disabled)
data-tauri-drag-region="false" (drag disabled)
5. Drag Region with Clickable Element (Button Blocks Drag)
data-tauri-drag-region with button inside
7. Deep Drag Region with Clickable Elements
data-tauri-drag-region="deep" with clickables
Link (Blocks)
8. Deep Drag Region with Non-Clickable Text
data-tauri-drag-region="deep" with text
Just plain text - should drag from here
9. Nested: False Blocks Parent Drag
data-tauri-drag-region="deep" parent
data-tauri-drag-region="false" child (blocks parent drag)
10. Double Click to Maximize (Test Platform Behavior)
Double-click to test maximize (platform-dependent)
macOS: Maximize on mouseup if cursor unmoved | Windows/Linux: Maximize
on double-click
11. Deep Drag Region with ARIA Roles (Role Elements Should Block Drag)
data-tauri-drag-region="deep" with role-based elements
role="button" (Blocks)
role="link" (Blocks)
role="checkbox" (Blocks)
Plain text between role boxes (Drags)
12. Clickable Element with Bare Drag Region (Button Should Drag on
Direct Click)
13. Clickable Element with Deep Drag Region (Should Drag from
Children)
14. Clickable Element with False Drag Region (Should NOT Drag)
15. ARIA Role Element with Drag Region (Should Drag)
role="button" with data-tauri-drag-region (Should Drag)
role="tab" with deep (Should Drag from children)
16. Bare Drag Region with ARIA Role Child (Role Child Should Block
Drag)
data-tauri-drag-region (bare) parent
role="tab" (Blocks)
role="switch" (Blocks)
role="option" (Blocks)