This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm having an issue when using your library in which other's addons menus are showing when I try to display mine. Below is an image of a easymenu dropdown that I created using your library, but when displays it is also showing menu items from the Titan addon that also uses your library. If you mouse over the extra menu items an error is thrown
Error:
1x ...!LibUIDropDownMenu\LibUIDropDownMenu\LibEasyMenu-90030.lua:39: attempt to get length of local 'menuList' (a nil value)[string "@Titan\libs\!LibUIDropDownMenu\LibUIDropDownMenu\LibEasyMenu-90030.lua"]:39: in function `initFunction'[string "@BetterWardrobe\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua"]:425: in function `L_UIDropDownMenu_Initialize'[string "@BetterWardrobe\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua"]:1416: in function `L_ToggleDropDownMenu'[string "@BetterWardrobe\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua"]:551: in function `L_UIDropDownMenuButton_OnEnter'[string "@Titan\libs\!LibUIDropDownMenu\LibUIDropDownMenu\LibUIDropDownMenu.lua"]:190: in function <...DropDownMenu\LibUIDropDownMenu\LibUIDropDownMenu.lua:189>
Locals:frame = BW_ItemSubDropDownMenu { 0 = <userdata> Right = BW_ItemSubDropDownMenuRight { } Left = BW_ItemSubDropDownMenuLeft { } displayMode = "MENU" initialize = <function> defined @Titan\libs\!LibUIDropDownMenu\LibUIDropDownMenu\LibEasyMenu.lua:38 Button = BW_ItemSubDropDownMenuButton { } Text = BW_ItemSubDropDownMenuText { } Middle = BW_ItemSubDropDownMenuMiddle { } Icon = BW_ItemSubDropDownMenuIcon { }}level = 2menuList = nil(*temporary) = 1(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = nil(*temporary) = "attempt to get length of local 'menuList' (a nil value)"
Hi, thanks for your message. Could you check if all those addon which embeds LibUIDropDownMenu all are now with latest version?
It looks like they still have the older version as they haven't done any updates since you released your newest version.
To post a comment, please login or register a new account.