Expand description
The system-gesture / interactive-dismiss shield (docs/cover.md): the registries behind the
defers_system_gestures and interactive_dismiss_disabled modifiers. Each mounted modifier
pushes an entry while its subtree is alive; the union of entries is the app’s current request.
Gesture deferral flows straight to the backend (Toolkit::defer_system_gestures) on every
change. Dismiss-disabled is a query: the cover piece reads it — reactively, via the
change [Trigger] — when deciding whether a native back may close it and when patching the
presented surface’s isModalInPresentation-style flag.
Functions§
- deferred_
edges - The union of every live deferral request (
Edges::NONEwhen there are none). Untracked. - dismiss_
disabled - Whether any live subtree asked to disable interactive dismissal. Reads track the change counter, so a binding re-runs as modifiers mount and unmount.
- pop_
dismiss_ disabled - pop_
gesture_ deferral - push_
dismiss_ disabled - Register an interactive-dismiss-disabled request (an
interactive_dismiss_disabledsubtree mounted). Pair withpop_dismiss_disabledon unmount. - push_
gesture_ deferral - Register an edge-deferral request (a
defers_system_gesturessubtree mounted). The backend receives the new union immediately. Pair withpop_gesture_deferralon unmount.