migueldeicaza / MonoTouch.Dialog

Tools to simplify creating dialogs with the user using MonoTouch
MIT License
430 stars 211 forks source link

UIWebView disposed after load finishes but content still visible #241

Open DennisWelu opened 8 years ago

DennisWelu commented 8 years ago

This line is confusing to me: https://github.com/migueldeicaza/MonoTouch.Dialog/blob/4eabc51f7c4e83c715ef33ae68e6277280da147e/MonoTouch.Dialog/Elements.cs#L692

I was having trouble where in a modal DialogViewController, when it navigates to an HtmlElement child, as soon as I clicked in a text field it would crash. It would also crash if I just waited around a bit. When I remove that line it seems to work fine. And I'm confused why it would be disposed after loading is finished as the user would still be interacting with the fully loaded content. Plus it's still added as a child subview at that point, no?