Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: BLOOD585 on March 26, 2014, 05:34:39 AM
-
Hi!
I want to make a horizontal scroll with centering element, and that the size of the scroll changed together with the screen. But I found a bug which is reproduced in your example "Scroll View (Panel)". If in the example add Anchors to UIPanel ScrollView, go to the last item and clicking on it for a long time, sometimes scrolling moves to a random position.
Attached video https://cloud.mail.ru/public/68ee5c21fc2d/ScrollViewBug.avi
First reproduction 1min 17sec. Sorry for bad English))))
If I remove Anchors, all works fine!
-
Not sure what that AVI is encoded with but I can't play it on my computer. May I recommend YouTube?
Also, I speak Russian.
-
Hi!
Upload on YouTube: https://www.youtube.com/watch?v=iTB1SQgFQDo
The larger anchor bias center and change offset, the more often bug reproduced and stronger consequences.
-
So where's the issue? I don't see anything wrong with the video. And what you're saying doesn't make sense. If russian is your native language then just post in russian.
-
День добрый!
Баг заключается в том, что если на ScrollView стоят Anchors, то CenterOnChild работает не корректно. Как только я убираю их, проблема исчезает. Включенный UIGrid еще сильнее усугубляет ситуацию. Возможно это смещение center или offset так влияет.
Например, я скролю ScrollView до конца вправо, а затем кликаю на последний элемент, ScrollView перематывает в неверную позицию.
-
Это с какой версии?
-
Версия 3.5.4 r2
-
Yeah you should update to the latest. Preferably to 3.5.6 if you have Pro access.
-
Thanks! All works fine)))