Open
Description
Description
With FlyoutLayoutBehavior.Popover, whereby the Details page should entirely hide the Flyout(Menu)Page, most of the Disappearing lifecycle events never run. i.e.
- OnDisappearing never runs (observed on both Windows and Android)
- IsVisible is never set to false (observed on both Windows and Android)
- IsPresented only ever set to false on Windows manually by dev (works automatically on Android if user hides the menu again without making a selection, but only then, otherwise same behaviour as Windows)
- IsPresentedChanged DOES work, but that's the only one I've seen working (and only when the dev explicitly sets IsPresented to false themselves on Windows, otherwise it stays true the whole time).
Steps to Reproduce
- create a new app
- add a FlyoutPage (note: the FlyoutPage sample app STILL doesn't work - I reported this previously. Error message is "Can't change IsPresented when setting Default")
- add some debugging to observe these behaviours
- run on different platforms
Link to public reproduction project repository
https://github.com/SmartmanApps/FlyoutRepro
Version with bug
7.0.86
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
1000.19041.1000.0 Android API 28
Did you find any workaround?
No (IsPresentedChanged works on Android, but only half usable on Windows).
Relevant log output
********************************** TemplateFlyoutMenuPage.OnAppearing is running
********************************** TemplateFlyoutPage.IsPresented is True
********************************** TemplateFlyoutPage.IsVisible is True
********************************** TemplateFlyoutPage.IsPresented is False
********************************** TemplateFlyoutPage.IsVisible is True
********************************** TemplateFlyoutPage.IsPresented is True
********************************** TemplateFlyoutPage.IsVisible is True
********************************** TemplateFlyoutPage.IsPresented is False
********************************** TemplateFlyoutPage.IsVisible is True