|Resolved||matmarex||T161203 Language change tooltip is broken|
|Resolved||matmarex||T160852 Uncaught TypeError: Cannot read property 'defaultView' of null|
Sorry, I forgot that this is a thing. In sidebar position, the popup should probably be shown entirely on the right/left, rather than below. (We actually support that now!) Done in https://gerrit.wikimedia.org/r/#/c/346362/.
The tip is not properly aligned with the cog in sidebar position, it is some pixels too much left at least on Chrome.
The tip ("anchor") aligns itself to the left edge of the cog ("floatable container"). It's a remnant from when the positioning logic was much dumber, and only kind of works for PopupButtonWidgets. We're changing it in https://gerrit.wikimedia.org/r/#/c/341329/ in OOjs UI to align to the center.
Screenshots with both of the patches applied:
|$wgULSPosition = 'personal';||$wgULSPosition = 'interlanguage';|