[iOS] FlyoutPage
secondary toolbar items covers Detail
content on iOS
#22077
Labels
Milestone
FlyoutPage
secondary toolbar items covers Detail
content on iOS
#22077
Description
When
FlyoutPage.Detail
is aNavigationPage
with a child page that has toolbar items, theSecondary
toolbar items cover the contents of the child page at the top.This is possibly related to #14559, in that it concerns displaying the
Secondary
toolbar items. That bug is about them not displaying asSecondary
in a non-FlyoutPage
. The toolbar items actually display "correctly" on aFlyoutPage
as far as being on their own row, but they cover up the page content at the top.There is also another possibly related bug, where if you push anotherNavigationPage
then the navigation bars/toolbar items stack on top of each other on each subsequent page. You can see this by clicking the "Test" button in the reproduction project. Note that when this happens, the content of the page is correctly not hidden behind the toolbars.I realized that the above is because I was pushing another actual
NavigationPage
which "works" but probably isn't correct.Finally, neither
ToolbarHandler.Mapping.PrependToMapping
orAppendToMapping
seem to run in iOS (same forNavigationViewHandler
). I thought maybe that was the problem, but looking at the code it looks like iOS doesn't use the mappers like Android does. Things like theToolbarHandler
andNavigationViewHandler
don't seem to be implemented for iOS, but I may not be following the code correctly.I will also note here that when not using a
FlyoutPage
then the "Test" button crashes on iOS but works on Android. But I think this is a separate issue so I'm going to make a separate bug issue for it assuming I don't find an existing issue.Steps to Reproduce
Secondary
toolbar items.Link to public reproduction project repository
https://github.com/bzd3y/ReproductionProject.git
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17
Did you find any workaround?
I have not found any workarounds. I tried looking at using a handler to figure out what is going on and maybe fix it, but so far I haven't been successful.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: