dotnet / dotnet/maui

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

Open
#29,032 1 comment 0 reactions 0 assignees View on GitHub
area-controls-flyoutpage area-layout p/2 platform/android s/needs-attention t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

FlyoutPage layout is not recalculated when Android split view is used.
It also does not always work when device orientation changes.

### Steps to Reproduce

1. Create a FlyoutPage with SplitHorizontal
2. Run the app on Android
3. Switch to Split view via task manager and add another window
4. Resize the view - nothing changes and Split does not change to Popover

### Link to public reproduction project repository

https://github.com/VitalyKnyazev/FlyoutPageResize

### Version with bug

9.0.60 SR6

### Is this a regression from previous behavior?

Not sure, did not test other versions

### Last version that worked well

_No response_

### Affected platforms

Android

### Affected platform versions

_No response_

### Did you find any workaround?

No, MAUI code change is needed

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start by running the linked FlyoutPageResize reproduction on Android, using SplitHorizontal and resizing or rotating the device. Trace the Android FlyoutPage layout and split-view handling; done means the layout recalculates and Split changes to Popover when the available size changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.