Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Element is already the child of another element. #298

Open
TaaheroHiro opened this issue Dec 2, 2019 · 1 comment
Open

Exception: Element is already the child of another element. #298

TaaheroHiro opened this issue Dec 2, 2019 · 1 comment

Comments

@TaaheroHiro
Copy link

Hi,

I have been trying to use FreshMVVM Source code to navigate using a hamburger menu as seen below:

image

The navigation works for the most part except when I try to go back to the first item in the menu.

Steps:

  1. Select "Illustrations" (or any other item besides wizard).
  2. Select "Wizard" item. This reveals the following exception :
    image

This error only appears on UWP and not Android or IOS.

I am using the below code to navigate:
image

I have also attached a text file with the code snippet.
FreshMVVM code snippet.txt

Please assist as I am not sure why I am getting this error.

@TaaheroHiro
Copy link
Author

Hi,

This has been fixed. Had to call base.CreateMenuPage as follows:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant