Hello Guest

Author Topic: UI Button in Scrollable Area unresponsive in certain position  (Read 4947 times)

Arnold

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 32
  • Create something you love!
    • View Profile
UI Button in Scrollable Area unresponsive in certain position
« on: January 25, 2014, 06:22:24 pm »
Hi,

i have a really weird bug with my buttons inside a scrollable area.
Sometimes the button is unresponsive, then after moving the scroll list a bit, it becomes responsive again.
But it seems the unresponsiveness is related to the position in the scroll area.
The problem is, i can only test the functionally on the device and not in the editor. There is no collider at this
position that could eat the touches, so i really confused with this bug.



unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: UI Button in Scrollable Area unresponsive in certain position
« Reply #1 on: January 25, 2014, 11:21:09 pm »
Hmm. My initial guess would be the colder is being obstructed by something. Failing that, is there any region around it that incorrectly responds to the click? Finally try adding a kinematic rigid body to scrollable area content object in case that is causing some issue with the physics system.

Arnold

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 32
  • Create something you love!
    • View Profile
Re: UI Button in Scrollable Area unresponsive in certain position
« Reply #2 on: January 26, 2014, 10:15:42 am »
ok cool i will give that a try and report back!

Arnold

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 32
  • Create something you love!
    • View Profile
Re: UI Button in Scrollable Area unresponsive in certain position
« Reply #3 on: February 17, 2014, 07:41:36 pm »
Hi,

just wanted to report back on how it went.
I wasn't able to find the bug and i still don't know what was wrong.
Still i was able to fix it with creating a new scene and rebuilding it the same way as it was in my old one.
Strangely enough everything now works as expected, without changing the individual parts (buttons, scroll area etc.).
But it was in general the second time where i could only fix a bug with setting up a new scene…

Anyways thanks again for your help!