alexrainman/CarouselView

Arrows appear for only one record in iOS

Druffl3 opened this issue · 1 comments

I am using the carousel view to display appointments the user is scheduled for, with the option to cancel it. Upon successful cancelation, I am removing that particular appointment from the collection bound to Carousel ItemSource.
After repeated cancellations, when the user has only one appointment left, the CarouselView displays both the left and right arrows, instead of any as expected.

When there are two appointments I can notice opacity difference, with the more opaque one indicating the direction where more appointments are available. In this case swiping left will reveal the other appointment.
Screenshot 2020-05-12 at 4 33 30 PM

When there's only one appointment remaining:
Screenshot 2020-05-12 at 4 32 05 PM

Why can't the arrows simply not appear when there's only one item or one record in the collection?
Like this:
Screenshot 2020-05-12 at 4 37 14 PM

Trying to reproduce this.