-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[framework] fix slider regression due to touch slop changes #103569
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
Conversation
|
@xu-baolin I'll trade you 😄 |
| required TextDirection textDirection, | ||
| required bool hasFocus, | ||
| required bool hovering, | ||
| required DeviceGestureSettings gestureSettings, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not this.gestureSettings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the only thing I do with gestureSettings is pass it to the gesture detectors below, we don't necessarily need a field to store the settings on this render object. The gesture detectors themselves are late and so aren't re-created outside of the constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, you are right, : )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
yes, an audit is in order. We might be able to speed things up by adding an assert if a gesture is received and gesture settings hasn't been set. I could also look into a breaking change process to make it required to prevent this from happening again. |
|
👍 Glad to review! |
This comment was marked as spam.
This comment was marked as spam.
|
@jonahwilliams When will that fix make its way to a stable release? |
…egressions (#105141) * [framework] fix slider regression due to touch slop changes (#103569) * fix `SliverReorderableList` not work on Android platform bug (#103406) Co-authored-by: xubaolin <[email protected]>

Fixes #103566
Due to changes in #97971