Closed AndreWaehlisch closed 4 years ago
I have no idea what is causing this. Never seen it nor can reproduce.
Testing again on the now current retail version: While the first problem still exists, the second seems to be fixed for me (maybe it was a bug on Blizzards side).
I am trying to use the dropdown class and I am having some issues. I am using the example code from the wiki page.
1.: After selecting an item I need two clicks on the arrow button to show the dropdown menu again. Adding the following line after line 104 in DropdownFrame.lua fixes this for me (this is the line with self:SetShown(data.keepShownOnClick)). Don't know if it is the correct position though:
if not data.keepShownOnClick then CloseDropDownMenus() end
2.: After selecting an item and then clicking the arrow button again (twice, with the above issue) to show the menu will display the dropdown menu, but the backdrop texture will be all messed up (see the attached image). Just clicking the arrow button (without selecting any items) will display it just fine.