ZO_ScrollableComboBox not modal for background controls
2 Attachment(s)
Greetings. I just converted some ZO_ComboBox controls in my add-on to ZO_ScrollableComboBox, and I'm experiencing a bug. The dropdown is not blocking access to the controls in the background. Buttons behind the dropped-down box are still firing rollover events (button glow and tooltip), and they are still clickable - even though they are rendered underneath the dropdown box.
I tried playing with SetDrawLayer(), SetDrawLevel(), and SetDrawTier() on the containing control, the m_combobox, the DropdownDropdown, and the DropdownDropdownBG. It has no effect on the interactability of the background controls. I even made sure that the LibAddonMenu-2.0 library embedded in my add-on is the latest version. At least one other user experienced this same exact problem with ZO_ScrollableComboBox, back in March 2017. There were no replies on his thread. Here is my add-on UI with the offending ZO_ScrollableComboBox: Here is a similar ZO_ScrollableComboBox in Dolgubon's Lazy Set Crafter, that is working properly - the background controls are blocked by the dropdown: Here is my XML code for the dropdown template control: Code:
<Control name="tccDropdownTemplate" virtual="true" inherits="ZO_ScrollableComboBox"> Code:
local itemSetDropdown = tcc_GetOrCreateControlFromVirtual(rowControl, "tccItemSetDropdown", "tccDropdownTemplate") Code:
function tcc_GetOrCreateControlFromVirtual(parent, controlName, virtualControlName) |
I had this exact same problem in the set crafter. As you've noticed it is fixed. Basically, you want to create the dropdown after anything it will be on top of.
|
1 Attachment(s)
Quote:
|
All times are GMT -6. The time now is 06:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI