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

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

ibnesayeed

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

Mike

XenForo developer
Staff member
#3
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.