Skip to content

Android - picker on hidden page opens after back navigation #24862

Open

Description

Description

The app has 3 pages. There is a picker on page 1.
After navigating modal to page 2, then to page 3 and then back to page 2 again, the picker on page 1 opens. Although page 1 is not even visible yet.

Steps to Reproduce

In the reproduction project:

  1. Navigate by clicking the button "Go to first modal page"
  2. Navigate by clicking the button "Go to second modal page"
  3. Click the button "Go back"
  4. The app is now back on the first modal page but shows the picker dialog from main page

Link to public reproduction project repository

https://github.com/pab6655/maui-modal-nav-picker-repro

Version with bug

8.0.82 SR8.2

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-controls-pickerPickermigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/android 🤖s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions