alexrainman / CarouselView

CarouselView control for Xamarin Forms
MIT License
436 stars 178 forks source link

(iOS) 6.0.0 CarouselViewRenderer.Dispose Null reference Unhandled Exception: #607

Open sethom opened 1 year ago

sethom commented 1 year ago

This happens to me under version 6.0.0. It happens when I navigate back from a page that was using CarouselViewControl. It's easy to recreate. My page uses CarouselViewControl to conditionally display instructions to a user depending on whether they've viewed the instructions before. Therefore, if they've seen the instructions before, IsVisible = false on the Grid the CarouselViewControl is contained in and the control never gets rendered to the screen. When I navigate back, it throws this error. If I set IsVisible = true on the Grid container control at some point while the page is loaded and navigate back, the error doesn't happen.