Replies: 1 comment
-
@BurkusCat The best I can tell you is that we've tried to cover every scenario we can think of. If you have a scenario that you think is wrong and you can produce a Unit Test that fails with the current logic... and even better if you want to help fix it we do take PRs and love when members of the community get involved to help identify bugs and submit fixes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
This is the current (20th June 2023) logic in the
ProcessNavigation
method in Prism Maui for determining if modal navigation should be used:I read this logic as:
I'm not familiar enough with this code to determine if this is correct or not. So I wanted to ask these questions:
parameters
like theanimated
bool below is set? Currently, it is only checkingpageParameters
which makes me think it would miss out in certain cases where a parameter is passed (like in the "Steps to Reproduce")useModalNavigation
be "auto-set" or should it be controlled by the caller? It seems strange thatfalse
could be specified by the caller but this could be automatically overridden & set to true based on where the page is in the navigation stack. Xamarin.Forms Prism doesn't have this logic:Apologies if this is the way the logic should be. No specific bug really to report here, just wanted flag it up in case it ever led to strange/unexpected behaviour! :) I don't have the expertise to know what it should be.
Steps to Reproduce
Platform with bug
.NET MAUI
Affected platforms
iOS, Android, Windows
Did you find any workaround?
N/A
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions