Nerixyz / current-song2

Display the currently playing song/audio.
https://currentsong.nerixyz.de
90 stars 7 forks source link

on obs browser, marquee not working when title has overflow #357

Closed kurosoft closed 1 year ago

kurosoft commented 1 year ago

on windows 10, using brave browser it's working properly. on obs browser, text is not scrolling / marquee is not working

brave browser image

obs browser image

with devtools image

Nerixyz commented 1 year ago

This seems to be a Chromium bug affecting Chrome <113 - OBS currently ships Chromium 103. The clientWidth of the element that detects the overflow is alternating between two values. I'm just dumb.