codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
389 stars 68 forks source link

On mobile, user profile -> filters -> menu can misbehave initially (might be incomplete load?) #1204

Open cellio opened 1 year ago

cellio commented 1 year ago

meta:288243

On mobile, if you go to your user profile page and go to the "filters" tab, there's a dropdown menu labelled "predefined filters". On tapping it initially, the user was presented not with a dropdown but with another malformed menu. Waiting and trying again fixed it. I've been unable to reproduce it, but I have a fast connection. There is speculation in the meta post that this could happen if some page elements have not completely loaded at the time of the tap.

The first step here would probably be to fake a slow connection and watch what's going on in the console.

An additional problem reported in the same post: even when the menu does display properly, there's a lot of whitespace added to the right side of the page. That doesn't impede using the menu because everything that's needed is on-screen, but it's weird and indicates a bug somewhere that might cause something else to not be visible without side-scrolling.

trichoplax commented 1 year ago

Since you don't see the initial incorrect menu, it would be interesting to know whether you also don't see the page width expansion when the correct menu is opened.

I'm guessing that should be a separate issue, but knowing whether you see one without the other would be useful for confirming that decision.

cellio commented 1 year ago

Oh, good point -- I was so fixated on the menu that I missed the width problem. Yes, I see that too. I don't know if that's a separate issue; I'll edit it in here for now and if it is, it can be spun off later.