We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

2 Issues with SfCarousel

Issue 

1) System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Com.Syncfusion.Carousel.SfCarousel'. 

I get this exception when I go to the carousel view page, then press back on the navigation stack, then navigate to the carousel view page again. I have a
method OnActivated on my viewModel that gets called to initialise the data that’s bound to the ItemSource property of the carousel view. The exception happens when I clear the observable collection bound to the ItemSource property to populate the data the second time around. First time works fine.

2) Intermittent carousel page missing when swiping left or right in default ViewMode.

The carousel page loads fine and there is no error that's produced. However, the behaviour of the carousel view is strange. The carousel view skips carousel items intermittently.


1 Reply

MK Muneesh Kumar G Syncfusion Team July 15, 2019 02:31 AM

Hi Sachin, 
 
Greetings from Syncfusion. 
 
Query : System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Com.Syncfusion.Carousel.SfCarousel'.  
 
We have prepared a simple sample to reproduce the mentioned issue and unfortunately, we are not able to reproduce the same, we suspect the while navigating the object might get disposed and it has been used. We have attached the same with which we have checked the issue. Please have the sample from the below link, 
 
 
If you still face any problem, can you revert us by modifying the attached sample based on your application scenario, this will help us to provide you a better solution at the earliest.  
 
Query : Intermittent carousel page missing when swiping left or right in default ViewMode. 
 
We have analyzed this query and we would like to inform you that SfCarousel swiping works based on finger interaction, if you swipe finger slowly, you can view each item in SfCarousel.  
 
If the reported problem different from this, please give video representation or pictorial representation of your problem. This would be helpful for us to give better solution in this.  
 
Thanks, 
Muneesh Kumar G. 


Loader.
Live Chat Icon For mobile
Up arrow icon