IsPresented Property in FlyoutPage Not Working Dynamically on Android
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
When using the IsPresented property in a FlyoutPage , it works as expected the first time (the flyout opens/appears when IsPresented is set to true). However, on subsequent attempts, setting IsPresented to true does not open the flyout on Android.
| Expected Output | Actual Output |
|-----------------|---------------|
| | |
### Steps to Reproduce
1. Run the attached Sample [IsPresentedDynamic 3.zip](https://github.com/user-attachments/files/22020617/IsPresentedDynamic.3.zip)
2. Tap the IsPresented= true and observe that On Android, only the first update works. Subsequent changes do not update the Flyout state.
Expected Behavior:
Every time IsPresented is set to true, the flyout should open.
Actual Behavior:
After the first time, setting IsPresented to true does not open the flyout on Android.
### Link to public reproduction project repository
_No response_
### Version with bug
9.0.100 SR10
### 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 response_
### Relevant log output
```shell
```
Contributor guide
Research direction
Run the attached IsPresentedDynamic 3.zip sample on Android with MAUI 9.0.100 SR10 and reproduce the first-successful, later-unsuccessful IsPresented updates in FlyoutPage. Trace the FlyoutPage Android behavior from the property update and compare each transition; done means every setting of IsPresented to true opens the flyout as shown by the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100