-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Dismiss the docked search view when the window size is changed #125071
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
Dismiss the docked search view when the window size is changed #125071
Conversation
_viewRect = topLeft & updatedViewSize; | ||
} | ||
}); | ||
assert(_screenSize != null); |
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.
It looks like the previous line be
_screenSize = updatedScreenSize!;
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.
Ah yes. Removed the assert check. Thanks!
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
Fixes #125073
This PR is to make an improvement for SearchAnchor. When the window size changes, the search view route should:
PR_desktop_demo.mov
PR_mobile_demo.mov
Pre-launch Checklist
///
).