Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[Problem] Scroll View isn't working as expected on mobile device.

Discussion in 'UGUI & TextMesh Pro' started by guzzo, Mar 14, 2015.

  1. guzzo

    guzzo

    Joined:
    Feb 20, 2014
    Posts:
    79
    Hello
    I have a scroll view (made with uGui) and it works as good as expected in the editor. However, after building the game in my mobile phone, i'm unable to drag the image correctly. I can drag it sometimes, a little, after a lot of swipes.
    Did anybody experience this problem before?

    Should i implement the scroll view with touch events from scratch, or does it have a solution?

    The scroll rect component settings are:
    Horizontal : enabled
    Vertical : enabled
    Movement : Clamped
    Inertia : enabled
    Desaceleration rate : 0.005
    Scroll sensitivity : 1

    No scroll bars and no on changed events.

    Thanks :)
     
    Last edited: Mar 14, 2015
  2. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,683
    Do you get the same issue on other platforms?
    Check the ones you can deploy to and see if the issue is specific to a certain platform or device.

    Personally I've had no issues on all the windows platforms but have seen a few queries on some Android devices
     
  3. guzzo

    guzzo

    Joined:
    Feb 20, 2014
    Posts:
    79
    Thanks for the reply. Using the mouse i have no issues. On mobile devices, on the other hand (tested only in 2 devices), the Scroll view doesn't work properly. All the other buttons work fine. I will investigate how unity UI handle touches.
     
  4. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,683
    Touches are managed by (you guessed it ) the TouchInputModule that is attached to the Event System.

    However I created a sample scene with a basic ScrollView setup and even on the WebPlayer I had no issues with touch and drag. I also tested on Win8, WP8, WP8.1 and Android with devices.

    If there is a specific platform you are having issue on (or devices) then I'd suggest logging it with the Unity bug reporter in the editor
     
  5. unity_wE0mWUxSHsYBbw

    unity_wE0mWUxSHsYBbw

    Joined:
    Mar 31, 2019
    Posts:
    1
    Have you solved this problem? I have same issue in 2018.3.8f1 version...