Skip to content

[Bug]: Push FlyoutPage resetStack: true does not set the root page as flyout on Android. #808

Open
@DanielCauser

Description

@DanielCauser

Describe the bug 🐞

I'm using sextant to create a simple Login Page -> Logedin Page app.

FIrst a simple root Navigation page where the app first navigates to.
After, the user clicks on Login Button and the app navigates to a classic FlyoutPage.

The issue I see is specific on Android. When I navigate to the Flyout page, it just acts as if its a Navigation Page.

Step to reproduce

  1. App.cs navigate
    https://github.com/DanielCauser/SextantNavigation/blob/main/SextantNavigation/App.xaml.cs#L21
  2. On the MainPage of the app, user clicks on the Login Button.
    https://github.com/DanielCauser/SextantNavigation/blob/main/SextantNavigation/MainViewModel.cs#L17
  3. Notice that on Android, when the app finishes navigating there is no hamburger menu (Flyout) Present.

Reproduction repository

https://github.com/DanielCauser/SextantNavigation

Expected behavior

When you clean the stack, and navigate to Flyout Page, the flyout popover behaviour should work.

Screenshots 🖼️

User lands on pretty Login page.
Screenshot 2024-09-03 at 8 33 06 PM

Once user Logs in, they navigate to the flyoutpage (For the life of me I can't make the hamburger button show, but the flyout page behaviour is there):
Screenshot 2024-09-03 at 8 19 30 PM

However on Android, the apps just navigates to the Flyout -> Detail page and gets stuck there. No Flyout popoover behaviour happens.
Screenshot 2024-09-03 at 8 41 24 PM

IDE

Visual Studio 2022

Operating system

Mac

Version

3.0.1

Device

Any Android Device

ReactiveUI Version

ReactiveUI.Maui" Version="20.1.1"

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions