Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to set Scrollview limited roll on "unrestricted" or no rebound on "elastic"?

Discussion in 'UGUI & TextMesh Pro' started by Xhitman, Feb 15, 2017.

  1. Xhitman

    Xhitman

    Joined:
    Oct 30, 2015
    Posts:
    452
    If i apply Unrestricted on movement type, i can roll anywhere; but the problem is the content may not show on the scrollview.

    If i apply Elastic on movement type, it will limit the roll and the content is always on scrollview, but i dont want the rebound.

    So how can i make scrollview to show content all the time(not roll too far and show empty content) and without rebound effect?
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,096
    Did you try setting it to Clamp?
    alternatively you can set the elasticity to 0 i guess.
     
  3. Xhitman

    Xhitman

    Joined:
    Oct 30, 2015
    Posts:
    452
    Clamp dont allow to roll, so i dont think it is an option when content is larger than scrollview.

    Regarding elasticity value, higher value make less rebound. I tried 999999, it still rebound.
     
  4. mehraneh

    mehraneh

    Joined:
    Oct 10, 2017
    Posts:
    1
    i have the same issue