angular2-useful-swiper icon indicating copy to clipboard operation
angular2-useful-swiper copied to clipboard

Loop working incorrectly when using ngFor

Open flxvh opened this issue 7 years ago • 4 comments

When using ngFor to add swiper-slide and loop is enabled, I noticed that it is no longer possible to go to the previous slide when you are at the first slide. Expected is that you can go back to the last slide when swiping back from the first. Also when swiping to the next slide on the last one, you go to the second slide instead of the first.

I adapted the demo (by adding loop: true to the config) to demonstrate this issue. see: https://plnkr.co/edit/7x82yViclRfuyP4DWG2X?p=preview

flxvh avatar Oct 19 '17 12:10 flxvh

Hi guys. Yes, I have got some problem. I tried to use without ngFor - doesn't matter. Thanks for your work.

whynotto avatar Nov 02 '17 15:11 whynotto

It looks like this issue is related to issue 36. I need to upgrade this package to swiper version 4 and I'll see if I can get this fixed then.

JayChase avatar Nov 03 '17 00:11 JayChase

I'm facing the same problem, does this issue is contempled to be fixed?

Moppet12 avatar Feb 27 '18 01:02 Moppet12

Anyone got any solution on this issue?

kjdeepak avatar Jul 04 '19 08:07 kjdeepak