3 Replies Latest reply on Jan 3, 2013 9:42 AM by Vishwanath Bannur

    Hide dropdown menu with javascript?


      I am opening modal panels from the drop down menu. This works fine, but the menu does not close immediately. Instead it closes when I focus on the modal panel with the mouse or even click on the grayed out area behind the panel.

      The problem is that the first field in the form is a input select field and when the user selects it the menu closes and so does the select.

      This really annoys them.

      Can someone please suggest some javascript or other way to close the menu immediately when a selection is made from the drop down menu.

      I tried hideDelay="0" and hideDelay="1". But this makes menu close faster in general, but has no effect when a modal panel has locked the background.