Skip to content

iOS-style release trigger and pressed state for ButtonWidgets#13

Open
Little1Yuan wants to merge 5 commits into
RedxAx:26.1from
Little1Yuan:master
Open

iOS-style release trigger and pressed state for ButtonWidgets#13
Little1Yuan wants to merge 5 commits into
RedxAx:26.1from
Little1Yuan:master

Conversation

@Little1Yuan

Copy link
Copy Markdown

Modify ButtonWidget to fire onClick on mouse release (mouseUp & isMouseOver) rather than on mouse press (mouseDown).
Also introduce a focus state that persists while the button is held down.

RedxAx and others added 5 commits October 23, 2025 17:03
…uttonWidget

Modify ButtonWidget to fire onClick on mouse release (mouseUp & isMouseOver) rather than
on mouse press (mouseDown), aligning interaction behavior with iOS HIG
(Human Interface Guidelines).

Also introduce a focus state that persists while the button
is held down, providing focus feedback prior to the
click being finalized. This enhances the overall Liquid Glass UX parity
with native mobile interactions.
@RedxAx RedxAx changed the base branch from master to 26.1 July 8, 2026 19:42
@RedxAx

RedxAx commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Hey! Thanks for taking the time to contribute, I'd love to merge this feature. Yet, the latest up to date branch is 26.1, it'll be merged into master soon. The changes you made do conflict with the branch sadly, I'll fix it myself unless you beat me to it. Thanks again!

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.

2 participants