Fix SwiftUI sheet presentation issues in Leavn - competing sheets, dismissal patterns, binding synchronization, enum-based consolidation
Scanned 2/12/2026
Install via CLI
openskills install willsigmon/sigstack---
name: Modal Sheet Debugger
description: Fix SwiftUI sheet presentation issues in Leavn - competing sheets, dismissal patterns, binding synchronization, enum-based consolidation
allowed-tools: Read, Edit, Grep
---
# Modal Sheet Debugger
Fix sheet presentation issues:
1. **Find competing sheets**: Multiple `.sheet()` modifiers on same view
2. **Consolidate pattern**:
```swift
enum SheetType: Identifiable {
case optionA, optionB
var id: String { ... }
}
@State var activeSheet: SheetType?
.sheet(item: $activeSheet) { type in
switch type { ... }
}
```
3. **Fix dismissal**: Update binding before dismiss()
4. **Check bindings**: Ensure parent and environment in sync
Use when: Multiple sheets conflict, dismissal bugs, sheet state issues
No comments yet. Be the first to comment!
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.