alexrainman / CarouselView

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

Arrows appear for only one record in iOS #571

Closed Druffl3 closed 3 years ago

Druffl3 commented 4 years ago

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
alexrainman commented 4 years ago

Trying to reproduce this.