The Sticky Avatars feature, which displays a post’s avatar following the scroll, is now an official feature shipped with Discourse. As a result, the theme component repository is archived, and users are advised to delete it to avoid malfunctions.
A workaround using CSS is available to disable sticky avatars if needed. However, this feature is not currently optimized for mobile devices. codinghorror notes that the desktop behavior may not be a good tradeoff on mobile.
Some users have reported inconsistencies in the feature’s behavior, particularly with short posts. bartv suggests a setting to control the minimum length of a post to enable sticky behavior, but joffreyjaffeux advises against it, citing the current behavior as a good tradeoff between utility and visual noise.
A CSS solution is also provided to disable sticky avatars, and Steven suggests an additional tweak to address issues with scrolling.
This works great in desktop and I understand that space issues make it hard to directly translate it to mobile, but maybe a small avatar icon just below the main navbar? (I know, not very ux-friendly)
There’s an inconsistency in the behavior as the avatars on short posts don’t stick when moving down, but they do stick when moving up - see video below.
Also, I’d personally prefer the sticky behavior on short posts too - I find the current ‘only on long posts’ a bit confusing. Perhaps a setting to control the minimum length of a post to enable this behavior would be helpful so everyone can tune it to their own preferences?
Yes that’s expected behaviour, after long time living with it we considered it was the best tradeoff utility/visual noise. The idea being that on short posts when you go down, you know who posted this, but when going up the post content appears before the avatar so it has some value even for small posts.
I would suggest to live with it a little bit please. We have no plans for a site setting for this ATM.