react-images icon indicating copy to clipboard operation
react-images copied to clipboard

How tu use infinite/wrap option?

Open nmoreaud opened this issue 5 years ago • 7 comments

It seems an "infinite" option has been added to v1.0. How can I use it ?

I tried the to use the following props :

               <Carousel
                  currentIndex={selectedIndex}
                  views={images}
                  trackProps={{ infinite: true }} />

However, infinite:true makes some pictures disappear temporarily (5 seconds)

nmoreaud avatar Jun 29 '19 14:06 nmoreaud

Arf, seems related with this : https://github.com/souporserious/react-view-pager/issues/72

nmoreaud avatar Jun 29 '19 14:06 nmoreaud

@nmoreaud I have same issue, any luck?

dann1609 avatar Jan 24 '20 17:01 dann1609

@nmoreaud I have same issue, any luck? Nope

nmoreaud avatar Jan 24 '20 18:01 nmoreaud

also having this issue, it doesn't wrap seems to go back to the image after a delay

onadeem1 avatar Feb 28 '20 19:02 onadeem1

I am also experiencing this issue.

chaddjohnson avatar Mar 06 '20 22:03 chaddjohnson

That dependency is archived now. I contacted the author because I stumbled upon the same issue. He told me that he was no longer maintaining it and he therefore archived the repo. He also said you could move to something like Framer Motion. Best, Dirk

dirkpennings avatar Apr 13 '20 18:04 dirkpennings

@dirkpennings

Uh oh... In that case we should probably move to Framer Motion (or similar) then!

davwheat avatar Apr 13 '20 19:04 davwheat