Disabling keyboard controls for scroll view?

I recently found out that it’s possible to move through a selected scroll view with the arrow keys or WASD. However, this movement is very jumpy and conflicts with what I’m trying to do with my program. Is there any way I can disable the keyboard controls? Or alternatively, is there a way to make the keyboard movement smooth instead of the jagged movement that it is by default?

I need answer for this ASAP