dotnet / dotnet/maui

[foldable] `SpanMode` not updated when app spanned/unspanned

Open
#5,852 3 comments 0 reactions 0 assignees View on GitHub
area-controls-twopaneview platform/android s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

SpanMode property should update each time the app is spanned or unspanned.

An event isn't firing (or something...) and the mode property does not get updated with the current mode

### Steps to Reproduce

1. Repros with the Sample App in the .NET MAUI source repo
2. Other Concepts -> Foldable -> shows a view with a TwoPaneView
3. The `SpanMode` property never changes from **SinglePane**

### Version with bug

Unknown/Other (please specify)

### Last version that worked well

Unknown/Other

### Affected platforms

Android

### Affected platform versions

Android 11

### Did you find any workaround?

No workaround apparent

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the .NET MAUI source repository's Sample App at Other Concepts → Foldable, where the TwoPaneView demonstrates the issue. Reproduce spanning and unspanning on Android 11, then trace why SpanMode remains SinglePane; done means the property reflects the current mode after each transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.