card_swiper icon indicating copy to clipboard operation
card_swiper copied to clipboard

Duplicated element when swiper has just one element

Open SalahAdDin opened this issue 2 years ago • 0 comments

This fork is a very good improvement over the initial package and we are so thankful about it.

We found a very problematic thing here: We the swiper have just one element, it duplicates it to have the carousel effect. For animation purposes is good, but when it is media sources, it break exo_player a lot, at least that's our problem now.

You can see it in the photo: Screen Shot 2021-12-18 at 17 52 41

This just only happen when loop is true.

It should not duplicate its child if this is just one.

Thank you.

SalahAdDin avatar Dec 18 '21 15:12 SalahAdDin