Skip to content

Conversation

mikhailChelbaev
Copy link
Collaborator

This PR separates tap and drag handling in SUCard so that onTap() is invoked only when the user taps the card itself. Buttons, toggles, and other interactive subviews now work normally without triggering the card’s action.

Known drawback: the press-state scale animation still plays when a nested control is tapped because the DragGesture continues to detect the touch.

@mikhailChelbaev mikhailChelbaev self-assigned this Jun 23, 2025
@mikhailChelbaev mikhailChelbaev merged commit 015718a into dev Jun 23, 2025
1 check passed
@mikhailChelbaev mikhailChelbaev deleted the fix-sucard-tap branch June 23, 2025 13:19
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