A user reported that on their Android device (Moto G6, Chrome), Discourse’s notification and tour elements were overflowing, suggesting the site was being viewed in desktop mode. sok777 initially suspected a mobile detection issue but later acknowledged the user may have been on desktop mode. Falco and Stephen clarified that Discourse intentionally serves different HTML structures for mobile and desktop, and does not guarantee desktop layout compatibility on mobile devices — even if the user switches to desktop mode. Falco emphasized that supporting desktop layouts on mobile would require unnecessary duplication of effort. sok777 accepted this reasoning and considered custom CSS fixes for specific error messages as a workaround. To treat this as a bug, Stephen requested definitive reproduction steps including phone model, Android version, browser, and whether the issue occurs on Meta. Falco also requested the exact user agent string for further debugging. The consensus is that while the overflow is visually undesirable, it falls outside supported use cases.
I’ve just received a report from a user that joined and the notification and tour were overflowing.
Thanks to a couple of screenshots I managed to realize that the issue is that the viewing wasn’t actually a mobile one. I’ve got a slightly different header links for web and mobile so it was easy to debug.
I’ve checked on my Android device and it works as expected. Any thoughts why this could happen? I tried to search on the forum here and didn’t find info about this.
Thanks guys.
I thought about this and the user says it was like that before they requested desktop site and the same behavior applied for desktop site.
I’m checking for the browser although from the screenshot it seems like Chrome on Android.
It’s a moto G6 on chrome. The issue was that an error message was overflowing, I suspect the user was on a desktop site though. Even then, the error message should still fit in the screen size, right?
We don’t really support using the desktop version on a non-desktop. We ship a complete different HTML structure for mobile, so it makes no sense for us to double the work by also making desktop works in every mobile size.
I understand and respect that.
I’m not sure the purpose of using desktop site on mobile unless some of the functionality isn’t available. In the worst case, I’ll customize some css to support specific messages/errors.
Thanks again guys!