Closed Aycom366 closed 1 year ago
marquee doesn't work if it is being used twice on a page.
<div className='w-full h-full'> <Marquee speed={300}> <div className='w-full flex gap-2 relative'> {TwitterApi.splice(0, 10).map((item, index) => ( <TwitterCard classes='last:mr-2' {...item} key={index} /> ))} </div> </Marquee> </div>
The above is working normally but if I added extra elements to the above, it doesn't show.
<div className='w-full h-full'> <Marquee speed={300}> <div className='w-full flex gap-2 relative'> {TwitterApi.splice(0, 10).map((item, index) => ( <TwitterCard classes='last:mr-2' {...item} key={index} /> ))} </div> </Marquee> </div> <div className='w-full h-full'> <Marquee speed={300}> <div className='w-full flex gap-2 relative'> {TwitterApi.splice(0, 10).map((item, index) => ( <TwitterCard classes='last:mr-2' {...item} key={index} /> ))} </div> </Marquee> </div>
Sorry, I'm unable to reproduce this, closing for now
Happening for me too. How to fix it ? @Aycom366 @justin-chu
marquee doesn't work if it is being used twice on a page.
The above is working normally but if I added extra elements to the above, it doesn't show.