ElvUI WindTools

ElvUI WindTools

5M Downloads

question: button phase diving clickable after being hidden

Lillyfloof opened this issue ยท 2 comments

commented

The button to Exit Phase Diving is still clickable after being hidden. This interferes with mouse-clicking in the game world, should the mouse cursor be in the same area. The reason is because the alpha value of the button's icon is being set to 0 instead of the button being properly hidden. Solutions include button:Hide() or button:SetParent(frame) (where "frame" is an already hidden frame). However, these solutions have combat restrictions, and would need a out-of-combat queue system to avoid blocked addon actions.

  • Elvui Windtool version : 3.95-fix-1
  • ElvUI Version 13.96
  • WoW Build 11.2.0

Additional context

This doesn't cause any bug error messages, but I came upon the bug when I tried to move the camera but wasn't able to.

commented

Try the current alpha to see if the error is gone

commented

it is designed, because the update button state in combat is not allowed from Blizzard, so I choose the icon show/hide solution to do this.
you can move the button to the other place to avoid this.