justin-chu / react-fast-marquee

A lightweight React component that harnesses the power of CSS animations to create silky smooth marquees.
https://react-fast-marquee.com
MIT License
1.16k stars 95 forks source link

autoFill true causing whole website stuck #66

Open himanshusatija-cred opened 1 year ago

himanshusatija-cred commented 1 year ago

If I'm using autoFill true, it's making whole website unresponsive.

nathanielCherian commented 1 year ago

Ran into this same issue, I believe it can be fixed if you wrap the Marquee in a div and bound its width to say 500px. The website crashes because it keeps on spawning more elements to fill the page.

mezotv commented 1 year ago

Ran into this same issue, I believe it can be fixed if you wrap the Marquee in a div and bound its width to say 500px. The website crashes because it keeps on spawning more elements to fill the page.

Tried this and it still errors our a lot and crashes the site? Do you think @justin-chu will fix this?

oguzhantufenk commented 11 months ago

Same issue here. Fixed it by giving static width to it.

lnicepei commented 11 months ago

Had same issue, solved by @nathanielCherian's answer

6lyxt commented 4 months ago

i will bump this

BanShan-Alec commented 1 month ago

Same issus,I hope the author can fix it or give tips in the documentation.