Mouse wheel not scrolling down when in a UI made by a script

Is there a way I could make it so that it automatically scrolls up or down when I’m hovering inside a script UI tab?
image