ezekielaquino / Marquee3000

Marquees for the new millenium
https://ezekielaquino.com/2019/marquee
MIT License
438 stars 81 forks source link

Tab freeze #26

Open nusson opened 4 years ago

nusson commented 4 years ago

we tried to implement marquee3k on 2 website over a 1year span, and only those 2 websites had this exact same bug :

once in a while, our tab will freeze, and we are unable to close it only by force killing chrome...

So we expect that it is this marquee3000 lib that bug ;)

I found a user that may have the same bug using this lib too - see here

adrianxadamn commented 3 years ago

I had this issue too but it only happens if you have many tabs on Chrome running a lot of animations like the marquee ticker library. It seems to be effective when you have a default speed of 0.25x and initialize your ticker when it is within viewport.

Also, make sure your markup is set up correctly, otherwise, initializing the ticker will most likely crash your browser. I never seem to have this issue if I init the ticker right after everything on my page has finished loading.

regiside commented 9 months ago

Had this same issue which is why I stopped using this script. :( Was hoping maybe someone had found a production ready solution. It's just not worth risking freezing my users browsers if they happen to open the page in a new background tab.