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. QuantumCalzone

    Feb 26, 2017 03:33

    having this issue on android

  2. yuliyF

    Feb 17, 2017 10:29

    unity 5.5.1p3 catched bug on on Samsung 6 Edge +

  3. AirShaf

    Apr 22, 2016 11:27

    Where is the attached project?

  4. MadsHugoGames

    Jan 14, 2016 15:01

    I'm still having this issue in unity 5.2.3f1

  5. FragrantJH

    Nov 19, 2015 01:44

    Where is attached project ?

  6. magonicolas

    Oct 07, 2015 15:33

    Im still having this issue How Can I Solve it?

  7. ruddonomy

    May 19, 2015 22:53

    In case anyone finds this looking for how to fix this issue in their project, the fix is to change the value for "Drag Threshold" on the EventSystem object. It is *not* a valuable that is changed per ScrollRect, it's shared by everything using the EventSystem. The default value is 5, so change it to something higher!

  8. teemukorh

    Jan 22, 2015 18:06

    Yes, we are also experiencing this with 4.6.1 p3.

  9. zukerman

    Jan 15, 2015 07:43

    Still reproducing on recent version 4.6.1f
    Can we reopen this bug?

  10. Andy-Block

    Jan 11, 2015 19:08

    This issue does not appear to be fixed in 4.6.1f1 (as others have also reported in http://forum.unity3d.com/threads/buttons-within-scroll-rect-are-difficult-to-press-on-mobile.265682/). Anyone know how to go about reopening it? Or should I file a new bug?

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.