ScrollRect scrolling when not pressing scrollbar

I just added a scrollrect to my game and when I press inside the scroll rect area(even if the scrollbar isnt on the mouse position) it activates the scrollng… how to stop this? I only want the scrollrect to scroll if the player presses the scrollbar or uses mouse wheel.

Thanks!

Disable both “Vertical” and “Horizontal” on Scroll Rect.
If you have scrollbars set, they will still work.
You would need to manually check if mouse wheel should be scrolling them though as mouse wheel stops working this way.