-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix AppBar scrolledUnder initial state - the third #102582
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
|
|
||
| void _handleScrollNotification(ScrollNotification notification) { | ||
| if (notification is ScrollUpdateNotification) { | ||
| if (notification is ScrollUpdateNotification && notification.depth == 0) { |
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.
This is the change from the revert. If there are additional scroll views nested below, they could inaccurately change scrolled under to false, while the outer, main scroll view is actually scrolled under.
darrenaustin
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. Thx.
Original change #101460
Reverted in #101929
Fixes #101416 (again) 🙂
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.