Weird overlaid text issue in some posts

Is anyone else seeing this bug? I’ve noticed it in a few posts recently. It seems to be a new thing — I don’t remember it being there before. Windows 10, using Opera browser.

2 Likes

Yeah it’s kind of an ongoing issue. I need to try to find an ultimate solution for it

It seems to be something that just affects forums with forum-specific rules in the header, when a YouTube video is posted, something like that?

Yes. There’s a process called CSS that we can use to manipulate various elements of the website. Sometimes it comes down to finding a “unique identifier” that allows you to put things where you want them and not where you don’t want them. I have failed as of yet in this case.

3 Likes

@tempogain
add :not(.youtube-onebox) to all CSS that has div.title-wrapper::after
e.g.
.category-life-health-and-fitness div.container :not(.youtube-onebox) div.title-wrapper::after { content: "\a Forum Rules: Serious replies only to medical questions of any nature"; }

the scss code would be:
.category-life-health-and-fitness { div.container { :not(.youtube-onebox) { div.title-wrapper::after { content: "\A Forum Rules: Serious replies only to medical questions of any nature";}}}}

5 Likes

Oh awesome. I’ll try it out

I couldn’t get that to work, but I did find another identifier to use (div#topic-title.container) that is not in the Youtube oneboxes, so it looks like we’re rolling again! I will apply it across the boards shortly

3 Likes

OK, should be good everywhere.

1 Like

Except when replying on mobile. The message box takes the whole screen

which is better than before, where you can’t even see what you type on mobile at all.

Oh is that related to this? I noticed it yesterday too but figured it was just my phone. Yeah, that’s annoying…

1 Like

Not if you want to be able to read what you’re responding to. Perhaps you don’t mind, but I find that quite useful.

We have the same phone and I’ve always been able to see what I type, so I presume either you’re exaggerating there or it’s just one of those problems only you manage to find…

1 Like

Before the fix, the keyboard would basically hide the text box, so you can’t see what you type.

Three or four lines of text should be enough to both see what you are typing and what you are replying to.

1 Like

No it wouldn’t, and yes you could. Sounds like user error.

Not related. We also optimize this with CSS code, but Discourse updates frequently mean it has to be redone.

1 Like

The issue is that the text wouldn’t automatically scroll, meaning after you typed the 3 or 4 lines of text, anything below is hidden by the keyboard, and you can’t scroll up to show it. I would probably have to manually insert a bunch of blank lines to do this.

Doesn’t happen with me, and I doubt it’s default behavior. Along with your other keyboard problems you’ve previously complained about, it sounds like you’ve done something with your keyboard so maybe need to mess around with the settings.

I wiped the phone a few times and it still happens, so it’s whatever default setting the phone has, I didn’t do anything to the keyboard. Normally it’s supposed to push the text box up when the keyboard comes up, but it doesn’t.

How’s it seem now?