Hello guys!
I’m trying to move the scrollview when a scrollview item is dragged.
I had a partial success because the way I implemented the drag input, results in a move not 1:1, and without the inertia of scrollview.
Any suggestion?

Hello guys!
I’m trying to move the scrollview when a scrollview item is dragged.
I had a partial success because the way I implemented the drag input, results in a move not 1:1, and without the inertia of scrollview.
Any suggestion?

I found a solution:
I pass the pointerEventData directly to the scrollView, when drag a Item:
public void OnDrag (BaseEventData data) {
PointerEventData pointerData = data as PointerEventData;
pointerData.pointerDrag = scrollView.gameObject;
scrollView.OnBeginDrag(pointerData);
}