leaffm / react-infinite-carousel

React simple infinite carousel with lazy loading and responsive support
MIT License
116 stars 19 forks source link

Carousel not rendering (when no responsive breakpoints are specified) until page is resized #16

Closed N-Crofts closed 4 years ago

N-Crofts commented 5 years ago

Each li width is somehow being set to 1px until the screen is resized. Once that happens, the width is set to the correct value. Please see screenshot below.

Screen Shot 2019-03-26 at 6 00 42 PM
Goshishah commented 5 years ago

facing the same issue

loading189 commented 5 years ago

Having the same issue. Has anyone found a fix?

lauraderowitsch commented 5 years ago

was having the same issue. I added breakpoints and the issue stopped occurring. Not exactly a fix, but worth a shot!

dkarski commented 5 years ago

It's crazy, but a above suggestion its work in me case 👍

gl0gl0 commented 4 years ago

Hello all :) I was able to reproduce this. As @lauraderowitsch says adding breakpoints should solve the problem for now.

Will take a look what's the problem without the breakpoints.

gl0gl0 commented 4 years ago

This was fixed on latest version 2.0.3. responsive flag is not longer necessary or specifying breakpoints.