Won't fix Navigation Dropdown Menus Not Hiding When Focusing In The Editor

ibnesayeed

Well-known member
Steps to reproduce:
  • Go to new thread creation page,
  • Hover over one of the navigation links like Resources or Members and allow the sub-menu drop down to appear,
  • Now click in the Rich Text Editor.
Expected behavior: Sub-menu should be hidden.
Actual behavior: It remains visible.
Previous behavior: This issue exists in the current stable release XF-1.1 as well.
Possible reason: RTE uses a different document hence focus and blur events are not bubbling up to the parent document.
Browser: Google Chrome 27
 

Adam Howard

Well-known member
I can confirm this as well in Firefox 22.

I would suspect this to be a minor issue, but still confirmed.
 

Mike

XenForo developer
Staff member
This is one of those things that probably isn't worth the effort to fix.

The problem is that we attach the click handler to the document, but the editor is an iframe with a separate document so it doesn't get the click events. Notably, the editor may not even exist when the popup menus are setup.
 

ibnesayeed

Well-known member
Thanks @Mike for the explanation. This is not a blocking issue anyway. :)

I have to admit that I have learned so much from your comments in bug related threads. :)
 
Last edited:
Top