EasyMenu type menus doesn't hide when you click outside of them #6


  • Fixed
Closed
  • SLOKnightFall created this issue Oct 18, 2020

    With the default EasyMenu if you click outside of the menu, the menu is hidden.  After converting it to use your library the menu appears on the screen but doesn't hide when clicking out side of it or using the autohide variable.  The only way to get the menu to hide is to make a selection.

  • SLOKnightFall posted a comment Oct 24, 2020

    Figured out a fix for you.  Hooking into the UIDropDownMenu_HandleGlobalMouseEvent will trigger the library version which will hide the menus when you click outside of them.

     

    hooksecurefunc("UIDropDownMenu_HandleGlobalMouseEvent", function(button, event) L_UIDropDownMenu_HandleGlobalMouseEvent( button, event) end)

     

     

     

     

  • arithmandar posted a comment Oct 31, 2020

    Thanks.

    This has been implemented into here: https://repos.wowace.com/wow/libuidropdownmenu/branches/v4.00

    please help to test it out.

  • arithmandar added a tag Fixed Oct 31, 2020
  • arithmandar closed issue May 18, 2021

To post a comment, please login or register a new account.