akiran / react-slick

React carousel component
http://react-slick.neostack.com/
MIT License
11.72k stars 2.1k forks source link

Slides From Other Component Are Grouped Into One #1460

Open ievgenklymenko opened 5 years ago

ievgenklymenko commented 5 years ago

Hi,

when I get slides from another component, they are considered by slick as one slide even though they are being rendered inside React.Fragment in there. Looks like ReactSlick is analyzing code preemptively :O

Here sandbox: https://codesandbox.io/s/v392kql6z7

lestrato commented 5 years ago

+1 Getting this issue too.

subooom commented 5 years ago

Same, has anyone found a solution yet?

burhandodhy commented 4 years ago

+1 Getting this issue too.

romulo-nascimento commented 4 years ago

+1 Getting this issue too.

cloudhospital commented 4 years ago

+1 Getting this issue too. I have found the similar link which claims it is intended. https://github.com/leandrowd/react-responsive-carousel/issues/279

franmastromarino commented 4 years ago

+1

remoblaser commented 2 years ago

Are there any solutions to this? Makes it impossible to render nested loops. Fragments aren't meant to be considered in such cases, there's a reason we have fragments instead of classical element.