Blank space after logout button

AI-generated summary

A bug report was opened regarding an unwanted blank space appearing after the logout button in the user menu. Alankrit_Choudh noted the issue affects members, while jomaxro confirmed it occurs in Chrome for non-admin users. fefrei provided detailed reproduction steps, observing that the space only appears when notifications load while the menu is open; subsequent openings do not trigger it. Mittineague verified the same behavior in Firefox, providing screenshots for both the first and second menu openings. codinghorror asked if this information was sufficient for the developer. eviltrout confirmed the issue was resolved with a specific commit fix. Alankrit_Choudh thanked the team for the resolution.

This bug could be also viable to members, but I am not sure of that.


There is a blank spacing after logout.

1 curtida

Same issue in Chrome, and for a non-admin.

I can repro this in Chrome, right here on meta. I’ve noticed this behavior:

  1. When you first open the menu, while the notifications load, there is no blank space.
  2. After the notifications have loaded, the blank space is there.
  3. After closing and re-opening the menu (when the notifications are already loaded), there is no blank space.

So it appears this blank space is only generated when the notifications are inserted while the menu is open.

1 curtida

Is that how its supposed to be or a bug in actual?

This is the bug – I was just trying to find out when it occurs to help the team to fix it :smiley:

Just reproduced Firefox latest

first open

second open

Does this repro information help you figure it out @eviltrout?

This was quite a tricky one, but I believe it’s finally been fixed:

https://github.com/discourse/discourse/commit/6eb83a3d0033d87f4b2ed8e81382f39b23896b51

6 curtidas

Thanks for the fix :slight_smile: