• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

rellect

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

Current result:
wrong.png

Expected result:
correct.png
 

Arty

Well-known member
#2
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.
 

rellect

Well-known member
#3
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.
 

Arty

Well-known member
#4
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.
 

Moshe1010

Well-known member
#5
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)?

 

Arty

Well-known member
#6
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.