Tabview Tabs doenst click every time on Android

0 votes
asked Jul 10, 2016 in Critical bug by Jay Jay
Sometimes i need 3-4 clicks or double clicks to click on an tab item (Android). In editor it works perfect.
commented Jul 11, 2016 by admin (31,720 points)
Hi there,

I'll look into this and see what I can do for the next release :)

~ Declan.

2 Answers

0 votes
answered Jul 14, 2016 by admin (31,720 points)
selected Aug 22, 2016 by admin
 
Best answer
It looks like raising the 'drag threshold' on Unity's EventSystem Component makes it easier to press buttons without triggering the ScrollRect. You could also attach a DragEventSender to the button, so that only a horizontal drag triggers it, making an accidental scroll less likely.

~ Declan.
commented Jul 14, 2016 by anonymous
edited Jul 14, 2016
Thanks Declan.
commented Jul 14, 2016 by anonymous
Ok found it! Works perfekt on Android now! Thanks Declan.
0 votes
answered Jul 11, 2016 by anonymous
Thx :) I can recreate the problem with the tabview example. I i think its because there is a scroll view and a button. Sometimes it thinks i will scroll and the button isnt pressed. But its just an idear of the problem... Maybe something different. If i do it in debug mode with breakspoints in the onclick and ondown function of the tabview everything is fine....
commented Jul 11, 2016 by anonymous
Ok i removed the scrollview and everythink works fine on an android device. I think there is a problem with Scrolling and clicking...
Welcome to MaterialUI support! Ask us anything :)
...