A user reported a display issue with oneboxes in Discourse, where a broken thumbnail causes a large, misaligned image that blocks text and links. The issue appears to be related to lazy-loaded images and inconsistent dimensions, with the problem temporarily resolving and reappearing. Another user observed similar behavior and suspected a connection to recent changes. The issue was confirmed as a bug introduced by a recent fix, and the developer dan acknowledged and fixed it in a commit.
I opened this link New search operator "not" for tags only - #2 by jomaxro and noticed that a broken thumbnail can cause an annoying issue (tested on Chrome and Edge). A large, broken image. Also you can’t select text or select links under it.
It looks like it might have something to do with our lazyloaded images… it has the correct positioning applied inline (looks like this is all from lazy-load-images.js.es6),
position: absolute;
top: 82px;
left: 28px;
but the width and height are out of whack at
width: 500px;
height: 500px;
I just tried the “rebuild html” option on that post and that corrected it. That post predated our lazyload feature, so I wonder if it was just a fluke when we rebuilt all the posts after that feature was added?
Oh I spoke too soon, now it’s broken in a different way… and it just fixed itself again. Something a bit odd is going on… if I do a hard refresh I will temporarily see the huge image…