initial silde will not be displayed when use map() to creat activtive pic,but press the dots,the second pic will run...

i had the same question
Not working when mapping with component
const slides = chars.map( (char) => {
return <MyComponent char={char}/>
})
return (
<Slider {...settings}>
{slides}
</Slider>
);
But it's working when I used just a div
const slides = chars.map( (char) => {
return <div>{char}</div>
})
return (
<Slider {...settings}>
{slides}
</Slider>
);
I've got the same issue.. any ideas?
Nice1, this comment got my slider working...somehow, but whats happening here?
I'm not sure if that's still the case. The issue could have been fixed in previous releases. Please feel free to request reopen if disagree.
Most helpful comment
Not working when mapping with component
But it's working when I used just a
div