Author Topic: NGUI ScrollView Items jump upon interaction  (Read 2845 times)

ysrikanth2011

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
NGUI ScrollView Items jump upon interaction
« on: May 15, 2014, 12:21:41 AM »
Hi ,

I have created a scrollview, created a grid under it  and added some items to the grid.
Added the UIDragScrollView script to each individual items.
I have multiple items under each item.
Some items are changing their positions under interaction ,some time why is it ?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI ScrollView Items jump upon interaction
« Reply #1 on: May 15, 2014, 12:44:17 AM »
Right click the scroll view and choose "Reset Clipping Position". Your content will be repositioned using the Content Origin setting specified on the scroll view. Scroll view will always try to automatically adjust the position of the content so that it's visible -- this won't happen until after you interact with it or until you do the reset.