brainhubeu / react-carousel

A pure extendable React carousel, powered by Brainhub (craftsmen who ❤️ JS)
https://brainhub.eu/
MIT License
1.07k stars 164 forks source link

Carousel Overlay? #587

Open EthanDamien opened 4 years ago

EthanDamien commented 4 years ago

Hi, I am new to react and my first project is to create a fake emulator of ios, I am trying to implement a lock screen, home screen, and sortable apps. To do this, I am attempting to create pages via the react carousel. so the user can swipe the web app but I don't think this works on anything but images? Is there a way I can try to make it so it works with components?

Honestly, react is a lot more complicated than I first thought. It took me 5 hours to get a button to toggle a picture lol.

piotr-s-brainhub commented 4 years ago

@EthanDamien

It's great you're using react-carousel for such a project. I hope it'll be useful and maybe we'll add a link to it from our README or docs.

I know, react-carousel can also work with div instead of an image but for more complex components there can be some problems like https://github.com/brainhubeu/react-carousel/issues/585

RobertHebel commented 4 years ago

@EthanDamien It seems it's a similar issue as described here: https://github.com/brainhubeu/react-carousel/issues/585