Skip to content

Add InputFreshPressGate for input bleeding prevention#19

Merged
Tirtstan merged 1 commit into
mainfrom
experimental
Jul 3, 2026
Merged

Add InputFreshPressGate for input bleeding prevention#19
Tirtstan merged 1 commit into
mainfrom
experimental

Conversation

@Tirtstan

@Tirtstan Tirtstan commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Extract fresh-press gating into a reusable InputFreshPressGate struct to prevent input events from a press already in progress from affecting newly opened views or handlers.

Updates InputActionButtonBase to delegate fresh-press validation to the gate. Adds requireFreshPress (default: true) to ViewDismissalInputHandler with gating on view switch, preventing the same cancel press from dismissing a newly focused view.

Version bumped to 4.1.1.

Extract fresh-press gating into a reusable InputFreshPressGate struct to prevent input events from a press already in progress from affecting newly opened views or handlers.

Updates InputActionButtonBase to delegate fresh-press validation to the gate. Adds requireFreshPress (default: true) to ViewDismissalInputHandler with gating on view switch, preventing the same cancel press from dismissing a newly focused view.

Version bumped to 4.1.1.
@Tirtstan Tirtstan merged commit b92beca into main Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant