As designed RTL: visitorTabs' popups are opened to the wrong side

refael

Well-known member
The visitorTabs' (Username, Inbox) popups are opened to the wrong side in RTL (except Alrets).

Current result:
wrong.webp

Expected result:
correct.webp
 
Its not a bug.

Popups open on right side (left for RTL) by default. If there is not enough space on right side to fit whole popup, popup opens on left side. Direction of popup does not depends on where menu item is located (user tabs section or main tabs section), it depends only on spacing between edge of browser window and element that opens popup.
 
Its not a bug.

Popups open on right side (left for RTL) by default. If there is not enough space on right side to fit whole popup, popup opens on left side. Direction of popup does not depends on where menu item is located (user tabs section or main tabs section), it depends only on spacing between edge of browser window and element that opens popup.
Well the RTL version should be a reflection of the LTR version.
If the popup is opened to one side in LTR version, it should be opened to the opposite side in RTL version, this is not the case here.
 
It is.

On this forum it is opened to the left because your username is too short so there is no space for popup on the right side. Edit username in tab with firebug or something to make it longer, then open popup. It will open to the right.
 
It is.

On this forum it is opened to the left because your username is too short so there is no space for popup on the right side. Edit username in tab with firebug or something to make it longer, then open popup. It will open to the right.
So if the username is long, shouldn't this be reproduced in RTL (the opening to the right)?

1yln.png
 
What I wrote above about this forum applies to LTR. RTL mirrors everything, so default direction of popup is left instead of right. That's exactly what you see on that screenshot.
 
Top Bottom