Search Unity

Unity UI double Scroll Rect handler?

Discussion in 'UGUI & TextMesh Pro' started by Radical_boy, Nov 8, 2021.

  1. Radical_boy

    Radical_boy

    Joined:
    Jan 30, 2021
    Posts:
    8
    I have a Clamped Vertical Scroll Rect that has in its Child that it scrolls multiple smaller Clamped Horizontal Scroll Rects. Imagine Spotify or Netflix. Now, unfortunately because of the smaller Scroll Rects, i can't scroll the bigger one.



    I have seen this post that has a script https://forum.unity.com/threads/nested-scrollrect.268551/ but unfortunately that script doesn't work for me as the smaller Rects are not a direct Child of the bigger one. Is there a way to fix this or do i have to do it manually (I need it to work for touch screen)?
     
  2. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    You can try the ScrollConflict Manager in the Unity UI Extensions project (Link in sig), although admittedly, it is more for embedded competing ScrollRects (vertical containing horizontal, etc) but you can certainly see how it works for your solution