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

    May 09, 2018 12:58

    @CROIXBK this post indeed points towards the same issue but doesn't actually give a workaround for it. It still explains how to adjust Drag Threshold according to screen DPI, but unfortunately, it doesn't work for UI elements like buttons inside scrollrects..

  2. Maro9332

    Jan 18, 2018 07:38

    I'm still having this issue in unity 2017.3 on Samsung Note 8. I think problem in high dpi. FIX IT !

  3. isaacnorman

    Jan 08, 2018 22:11

    This issue still seems to be present - I'm seeing it on buttons in scrollrect when testing on samsung s7. Could it be an issue with higher resolution screens making the accidental drag easier? Does anyone look at 'closed' bugs?

  4. Rinku2429

    Jul 19, 2017 05:27

    I'm Still having this Less Supportive ButtonClicking issue. How do i fix? Anyone please !!!

  5. adarshnambiar

    Jul 12, 2017 20:25

    Im not sure if the issue is resolved.Im using 5.6.0 and still facing the problem on Galaxy S7 edge.

  6. longdrecom123

    Jul 04, 2017 02:15

    I'm still having this issue in unity 5.5.1p3 with Android 7.0 on Galaxy S7 edge

  7. longdrecom123

    Jul 04, 2017 02:00

    I'm still having this issue in unity 5.5.1p3

  8. zero_null

    May 24, 2017 15:14

    This issue is more visible on High End Smartphones and on Android Nougat and Marshamallow devices.

  9. zero_null

    May 24, 2017 15:13

    Hilarious thing is that this is still an issue about 2 Years after. Yes, I am experiencing this issue on Unity 5.6.1f1 Latest and totally clueless how can I sort this out ????

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.