-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Updating FlyoutPage layout when parent window size changes #29209
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
base: main
Are you sure you want to change the base?
Conversation
… item is clicked in ListView context menu. Checking PopoverPresentationController for null, it seems to be null checked already in all other places.
…not be called when overridden in derived class
…uestionable OnSizeChanged handler
Hey there @@VitalyKnyazev! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
DeviceDisplay.MainDisplayInfoChanged -= OnMainDisplayInfoChanged; | ||
} | ||
else | ||
{ | ||
DeviceDisplay.MainDisplayInfoChanged += OnMainDisplayInfoChanged; | ||
Window.SizeChanged += OnWindowOnSizeChanged; |
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 unsubscribe from this event at some point.
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.
Updated code to unsubscribe from Window.SizeChanged
Description of Change
Tracking parent window size change and update FlyoutPage layout using already existing mechanism.
Issues Fixed
Fixes #29032