mrdoob / glsl-sandbox

Shader editor and gallery.
https://glslsandbox.com/
MIT License
1.54k stars 260 forks source link

CSS issue with toolbar #77

Closed greggman closed 2 years ago

greggman commented 2 years ago

On my Mac in Chrome I often get this behavior

https://user-images.githubusercontent.com/234804/136608225-d5297ddc-3da6-4fd0-8d7c-e362615f5c53.mov

The issue seems to be the time readout and its effect on how large the toolbar element is (not 100% sure about that but nothing else is changing)

Maybe this is chrome bug?

greggman commented 2 years ago

So I checked and it doesn't flicker in Chrome 60 but does in 70. The bisect didn't bring up anything useful. I suspect though that they'll say if it's been shipping for 3 years it's 'working as intended'. though maybe not.

mrdoob commented 2 years ago

I always have scrollbars enabled on MacOS so maybe that's why I haven't seen this before. I'll try to repro.

Is it just on Chrome?

mrdoob commented 2 years ago

Hmm, I'm not able to reproduce...

greggman commented 2 years ago

maybe it depends on OS display scale?

mrdoob commented 2 years ago

Where do I change that?

greggman commented 2 years ago

Sigh...this might only happen on external monitors. I'll try to repo again when I get home

mrdoob commented 2 years ago

I've managed to reproduce this (seems to be a Chrome only issue) and https://github.com/mrdoob/glsl-sandbox/commit/36a5725876907d5339bb47408772f028978f41fd seems to solve it.