-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Hi @Redth,
First off, I really like the project and the thought behind it, I think it has a lot of potential to replace the default CollectionView and ListView in .NET MAUI. I wanted to use VLV in our own project but ran into an issue while using it in a MAUI Community Toolkit Popup. Tried it on Windows and Android and the exception only occurred on Windows. I tried debugging this issue myself and searched for similar issues with WinUI, and did find something (microsoft/microsoft-ui-xaml#428) that resembles this issue, but couldn't figure out a solution to this problem.
Exception:
Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Private.CoreLib.dll
WinRT information: Element is already the child of another element.
An exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Private.CoreLib.dll but was not handled in user code
WinRT information: Element is already the child of another element.
No installed components were detected.
Element is already the child of another element.
Sample repository:
I forked your repository and added MCT and a sample popup to the sample project. If you run it on Windows you will run into the issue when opening the popup from the MainPage.
https://github.com/GuidoNeele/Maui.VirtualListView