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

Fix/scrollable touch input stuck #1940

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

AustinMReppert
Copy link
Contributor

@AustinMReppert AustinMReppert commented Jul 1, 2023

Should fix this scrollable touch input bug. The main "problem" seems to be exiting the event handler on a un-touch/touch loss returning immediately after handling it, even though later in the code the event is handled again. I have defaulted the return value to ignore and only return immediately when absolutely necessary, so that the various portions of the event handlers do not have to "fight" over the event.

bug.-.Trim.mp4

@hecrj hecrj added this to the 0.11.0 milestone Sep 3, 2023
Co-authored-by: Austin M. Reppert <austinmreppert@gmail.com>
@hecrj hecrj force-pushed the fix/scrollable-touch-input-stuck branch from a45d96b to d72ac36 Compare January 31, 2024 17:48
@hecrj hecrj enabled auto-merge January 31, 2024 17:49
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks!

@hecrj hecrj disabled auto-merge January 31, 2024 17:50
@hecrj hecrj enabled auto-merge January 31, 2024 17:51
@hecrj hecrj force-pushed the fix/scrollable-touch-input-stuck branch from 6590a4a to 4477537 Compare January 31, 2024 17:51
@hecrj hecrj merged commit d9118ac into iced-rs:master Jan 31, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants