Search Issue Tracker

Fixed in 4.6.X

Votes

13

Found in

4.6.0b17

Issue ID

627752

Regression

No

There is no drag threshold in the Scroll Rect

UI

-

1. Open the attached project
2. Open TestScene
3. Play and observe the behavior
4. When you drag buttons just a little bit the click cancels

When you have buttons inside Scroll Rect and your cursor moves just one pixel during a click, the dragging starts and cancels the click. It would be useful to have customizable drag threshold. Especially on touch screen, where the finger often moves during a touch.

Comments (26)

  1. bobmoff

    Sep 29, 2014 20:59

    I am using 4.6.0b19 and thereseek to be some treshhold as there is a small glitch/jump the first part of the scrolling, but I still experience problems tapping a button sometimes.

  2. geopaulm

    Sep 15, 2014 10:02

    Is this fixed? How to get the fix?

  3. cgutierrez71

    Sep 12, 2014 16:42

    Same problem here. Who knows when unity 4.6 is going to be ready?

  4. Ecke

    Sep 07, 2014 10:19

    I have the same Problem on my SG S5. Buttons only accept click events when the scroll rect has not moved.
    On PC it is no big deal but on small devices with high resolution it is. My Test Example:

    Anroid:
    https://www.dropbox.com/s/qfbjwnlxl0590aj/UiTest.apk?dl=0

    Web-Player:
    https://dl.dropboxusercontent.com/u/88278703/UnityWebPlayer/Neuer%20Ordner/Neuer%20Ordner.html

  5. infinitedev

    Aug 30, 2014 10:21

    We have this problem on iOS as well. Usually it's not a problem, but when it is an issue, it's very confusing to our play testers. Unity, please take a look at how native iOS scroll views handle this.

  6. fertigo

    Aug 25, 2014 19:45

    I tested this on some of our Android test devices. Buttons in ScrollRects are not usable on some devices, for example Tab3 7.0 and Xperia Z2.

    Weird thing is that on other devices it is less a problem and buttons work most of the time (tested on Galaxy S4, Tab3 10.0 and LG L5).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.