Skip to content
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

Use relative X position of tap when determining if the button was hit #12753

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Jan 18, 2023

Description of Change

The hit detection for the Clear button is using the raw X coordinate (screen space) from the motion event, but checking the position of the button in relative space. This change uses the relative X coordinate so that the hit detection is correct even if the Entry is not at the edge of the screen.

Issues Fixed

Fixes #9954

@PureWeen
Copy link
Member

/backport to net7.0

@github-actions
Copy link
Contributor

Started backporting to net7.0: https://github.com/dotnet/maui/actions/runs/4016816625

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entry ClearButton does not clear the text?
4 participants