-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix DraggableScrollableSheet crash when switching out scrollables #105549
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
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.
nit: _replacedExtent is only used here. I think it'd make sense to either inline the function here or to keep all this logic in the function.
|
I am still working with the customer on this to ensure their issue is resolved, marking WIP for now |
|
@dnfield I've cleaned this up and confirmed with the customer that this does resolve their issue. Can you PTAL when you have a chance? Thanks! |
xu-baolin
left a comment
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.
LGTM
|
@keyonghan this is a bug. The auto submit bot should not be removing the label for this check. |
|
|
|
This pull request is not suitable for automatic merging in its current state.
|
Fixes #105469
This accounts for when there is more than one position is attached to the scroll controller, and only triggers a snap when appropriate.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.