This solved the issue. Thank you.
I see layout shift, a link to the first unread post usually ends up above the right target - I guess when images are being loaded.
This is seen in recent Chrome browsers on Android and IPhone.
Send a chat and I can share a url where this is visible (on hosted nodebb). We are new to nodebb and don't know if this is something that appeared in a recent version or not.
Hi @klockprat -- NodeBB used to detect image shifts, but it was never very reliable.
Later versions of Firefox and Chrome now handle it natively, although I do not know if this extends to mobile versions.
NodeBB now no longer handles image viewport shifts.
@julian I think I see this in Chrome on desktop as well, I will send you a link over chat to demonstrate. See if this gives you the right target as expected, or if it is too high up, thanks!
@klockprat Thanks for sending the link -- it does go a little higher than expected, but the post is still within the viewport. This could be something we could try to account for with locally uploaded images, let me open a github issue:
This is especially annoying on mobile with a short viewport.
@pitaj Markdown plugin should automatically append width and height for images (both local and external) in the output HTML, which should help resolve these issues.
I think the real remaining cause of a viewport shift would be topic events. They're still rendered client-side right now.