Author Topic: UIScrollView Strange snapping  (Read 1888 times)

aholla

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 40
    • View Profile
UIScrollView Strange snapping
« on: August 22, 2014, 04:38:32 AM »
Hi I have a uiscrollview and the snapping has started acting strangly. The "MomentumAndSpring" is acting more like an EaseBack.

Any ideas what could be wrong?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView Strange snapping
« Reply #1 on: August 22, 2014, 04:49:13 AM »
Version of NGUI? Can you elaborate on the issue more?

aholla

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 40
    • View Profile
Re: UIScrollView Strange snapping
« Reply #2 on: August 22, 2014, 05:06:45 AM »
I've uploaded a gif to try and demonstrate the problem, you can view it here (80mb):

My "map" is in a horizontal scrollview with a drag component. When I drag from the left side it works fine but when I drag the the right side at the end of the scrollview it automatically snaps back to the end even though I am still dragging it.

I am on v 3.6.7. I have not updated to the very latest release because the removal of the BetterList and various issues that means my UI doesnt work like it did.
« Last Edit: August 22, 2014, 05:12:36 AM by aholla »

aholla

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 40
    • View Profile
Re: UIScrollView Strange snapping
« Reply #3 on: August 22, 2014, 05:12:50 AM »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView Strange snapping
« Reply #4 on: August 23, 2014, 02:48:46 AM »
Removal of BetterList? I never removed the BetterList.

As for that behaviour... it looks like two scripts fighting for repositioning of your content. I'd upgrade first, then go from there.