Skip to content

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

VitalyKnyazev
Copy link
Contributor

Description of Change

Tracking parent window size change and update FlyoutPage layout using already existing mechanism.

Issues Fixed

Fixes #29032

@VitalyKnyazev VitalyKnyazev requested a review from a team as a code owner April 25, 2025 16:00
Copy link
Contributor

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.

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Apr 25, 2025
DeviceDisplay.MainDisplayInfoChanged -= OnMainDisplayInfoChanged;
}
else
{
DeviceDisplay.MainDisplayInfoChanged += OnMainDisplayInfoChanged;
Window.SizeChanged += OnWindowOnSizeChanged;
Copy link
Contributor

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.

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-flyoutpage FlyoutPage community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] FlyoutPage layout is not updated in Android split view
2 participants