Open Vetle444 opened 3 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
@PureWeen thoughts?
Also, another issue here is that we are relying on Shell's Navigated and Navigating events, and those aren't firing when using long-press.
I am having the same problem, please let me know if anyone has solved this problem.
Description
First of all, thank you for the amazing framework you have built!
We are struggling with using the long-press navigation on the back button, here is what happens: If one is using Shell and the
NavigationStack
is >1, you get a back button where you can long-press on it to show all the pages that is in theNavigationStack
(except for the page you are at of course). If you select a page to navigate back to, the Shell'sCurrentPage
is not getting updated. This is causing problems in our published app.Steps to Reproduce
_ = Shell.Current.Navigation.PushAsync(new TestPage());
.OnAppearing
.Shell.Current.CurrentPage
property is still set to the page you navigated to before.Link to public reproduction project repository
No response
Version with bug
8.0.70 SR7
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
All iOS versions
Did you find any workaround?
No. I don't think there is any workaround to be found for this. One could possibly be able to disable the feature though.
Relevant log output
No response