Description
Describe the bug 🐞
In later versions of ReactiveUi (it works in 19.5.1, but not in 20.1.1) the navigation doesn't work properly.
This is related to the following fix: 14821ae, which was related to problem: #3640
Some context:
We have recently started to migrate our ReactiveUi application from xamarin to maui, and noticed that the NavigateAndReset function didn't work in the first view anymore, and have encountered similar problems with the Navigate function elsewhere. Simply put: one can call the function, but nothing happens. This is because the where clause of the fix prohibits the execution of it.
Step to reproduce
- Run the project listed here: https://github.com/RobinSrs/ReactiveUITestProject in an android emulator or device.
- Press one of the two flag buttons.
- You see a spinner appear, but nothing happens (the navigate and reset function doesn't work)
- Uninstall ReactiveUI.Maui with the nuget manager, Install version 19.5.1
- Run again, press one of the two buttons
- You have now successfully navigated to a new page.
Reproduction repository
https://github.com/RobinSrs/ReactiveUITestProject
Expected behavior
In all versions of the ReactiveUI, the Navigate and NavigateAndReset functions should work at any time it is called.
Screenshots 🖼️
20240527_162820.mp4
IDE
No response
Operating system
Android
Version
No response
Device
No response
ReactiveUI Version
20.1.1
Additional information ℹ️
No response