Author Topic: Disabling UIPopupList doesnt disable the menu from popping up on click? [SOVLED]  (Read 2286 times)

vexe

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 153
    • View Profile
Hi, when I try to disable the UIPopupList component on one of my objects, clicking on on the object still shows the popup menu, this is strange. Why is this happening? Thanks.
« Last Edit: August 14, 2013, 10:51:45 AM by vexe »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Disabling UIPopupList doesnt disable the menu from popping up on click?
« Reply #1 on: August 13, 2013, 08:15:26 PM »
What version of NGUI?

vexe

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 153
    • View Profile
Re: Disabling UIPopupList doesnt disable the menu from popping up on click?
« Reply #2 on: August 14, 2013, 01:17:00 AM »
2.6.4

vexe

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 153
    • View Profile
I disabled the menu by disabling the un-needed children (buttons/entries) in my custom created context menu - thanks. but just thought you should know about this, maybe a bug?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
I've added checks for enabled/active states on the UIPopupList.OnClick, it should resolve this.