willl
Well-known member
- Affected version
- XF 2.3 Beta 3
With the refactored JS, there is one issue I've discovered;
Adding an element at the top of the rendered menu container with the
getHorizontalPosition
will error out at menuArrow.style.top = ''
if the menu being loaded doesn't contain an element with .menu-arrow
; In XF 2.2 using jQuery it's just do a silent graceful fail on setting CSS and continue on, but without jQuery no error handling is in place for null values, so the function itself fails and it doesn't complete the positioning of the rendered menu.Adding an element at the top of the rendered menu container with the
menu-arrow
class works as a fix, however, but ideally it would continue to handle null values in this case as before.