-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] [Shell] First page is null in ShellGroupItem Navigation Stack #12329
Comments
Also please note: |
@GiampaoloGabba Thanks for the repro sample. |
@jsuarezruiz i saw you added the p/Android attribute only but this happens in iOS too :) |
I dug into the issue while making an unrelated pull request and i found that the renderer is creating the page from the DataTemplate (with GetOrCreateContent()) after the page is added to the NavigationStack. I have no idea how to fix it (i tried something but the result were always a big crash) but at least i found it why :) |
@PureWeen do you know how to fix it? |
Is there any update on this? We still got a problem with this in our project. |
Bump, this is annoying |
Description
When navigating inside Shell, the first page in the
ShellGroupItem
Navigation Stack is null.I found this when fixing a bug in my plugin. I have resolved using a quick & dirt reflection hack inside the renderer but i dont like it :)
Having a navigation stack that don't represent the true navigation is a problem.
Steps to Reproduce
I have attached a repro. Just run the project, click on an item to go to the detail page where the Navigation Stack is dumped to a label.
Expected Behavior
First entry in navigation stack should not be null but need to reference to the first page
Actual Behavior
First entry is navigation stack is null :)
Basic Information
Screenshots
Reproduction Link
https://github.com/GiampaoloGabba/ShellTest
The text was updated successfully, but these errors were encountered: