title: Context menu within a menu item in ExtJS
body: <p>I have a Menu that contains a TreePanel. The users need to be able to interact with a the TreePanel's nodes using a context menu. I'm showing the context menu from a function attached to the TreePanel's <code>contextmenu</code> event.</p>
  
  <p>This works except:</p>
  
  <ol>
  <li>Without <code>allowOtherMenus: true</code>, showing the context menu causes the main menu, and therefore the TreePanel, to disappear ;</li>
  <li>With <code>allowOtherMenus: true</code> on either menu, the context menu doesn't disappear when the users clicks a blank area of the TreePanel.</li>
  </ol>
  
  <p>I'm looking for a way to have the context menu to work as if the TreePanel were not an item within a menu.</p>
  
  <p><strong>Mockup :</strong>
  <img src="https://i.stack.imgur.com/V9C0y.png" alt="enter image description here"></p>