Skip to content

Handle un-pressing button when pointer interaction cancelled #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

Felicity-R
Copy link
Contributor

@Felicity-R Felicity-R commented Jul 24, 2025

Root Cause of the Issue

Cancelled interaction was clearing some effects, but wasn't changing the actual button state.

Description of Change

_isPressed should no longer be true, allowing us to go back to the Normal state

Issues Fixed

Fixes #228

Screenshots

Before:

Before.mp4

After:

After.mp4

Copy link
Collaborator

@Choza-rajan Choza-rajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are fine

@PaulAndersonS
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PaulAndersonS
Copy link
Collaborator

@Felicity-R Thanks for your contribution

@PaulAndersonS PaulAndersonS merged commit 9255830 into syncfusion:main Jul 28, 2025
1 check passed
@Felicity-R Felicity-R deleted the Felicity-R-patch-228 branch July 28, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

SfButton Pressed state can get stuck (Android)
3 participants