How would I disable buttons being selected upon click?

tl;dr, I’m trying to make my buttons not become selected once they’re pressed because it makes a custom scroll view (automatically scrolls to button upon selected, designed for gamepads) act wack.


Basically, once a button is clicked with this custom scroll view, the button gets selected, and the system scrolls to the button. Not too bad. However this is a problem on mobile, as when trying to scroll, buttons get selected. I don’t exactly just want to make a really big scrollbar just because of this. Is there a solution to this? Any line of code in the EventSystem or Button scripts that I can delete to achieve this, a custom solution to this problem that shouldn’t be so bad, or do I have to go and try to just make the scroll view not auto scroll whilst not using a gamepad