FreshMvvm icon indicating copy to clipboard operation
FreshMvvm copied to clipboard

Exception: Element is already the child of another element.

Open TaaheroHiro opened this issue 5 years ago • 1 comments

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 avatar Dec 02 '19 10:12 TaaheroHiro

Hi,

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

TaaheroHiro avatar Jan 30 '20 11:01 TaaheroHiro