This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
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.
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)
Thanks.
This has been implemented into here: https://repos.wowace.com/wow/libuidropdownmenu/branches/v4.00
please help to test it out.
To post a comment, please login or register a new account.