Learus / react-material-ui-carousel

A Generic carousel UI component for React using Material UI.
MIT License
553 stars 220 forks source link

[Feature Request] Having carousel preload items #88

Closed KeithBillings closed 3 years ago

KeithBillings commented 3 years ago

In my current project I used this carousel with an item that has to use an API call. Everytime it scrolls to that item, it has to load all over again. Not only does this make me use the API way more than intended, this also causes the component to not display smoothly as it has to load each and every time.

If the carousel took in its items, and staged loading this would make elements fade into display much smoother. Like if it was on item 1, it would begin to preload item 2. And on item 2, it would preload item 1 and 3.

Learus commented 3 years ago

Hello and thanks for your suggestion. This is something that's on my roadmap and I will do it eventually. Can't give an ETA unfortunately as of yet.

Learus commented 3 years ago

Fixed in version 3.