Closed lucyainsworth closed 3 years ago
I had the same issue in a different scenario - having the component hosted in a UserControl loaded at runtime. I am not expert in XAML-WPF so I don't deny that in my specific case the problem could have been fixed with better coding of my side :D However this solves it and I think it should be merged!
Here is the fix for the hang caused by collapsed visibility. I tested it using the example app provided in the sln, and confirmed that toggling of visibility works perfectly with no more UI hangs.