UI toolkit scroll view, mouse wheel scroll not working

Hello,

I am having an issue with a scroll view container I have created in the UI builder and populated with buttons through a script. The buttons are setup to populate left to right and then wrap round to a new row when their current row is full. If the buttons are sized large enough that only 1 or 2 fit on each row then the scrolling works as expected. But if I scale the buttons so that 3 or more fit on each row then scrolling via the mouse wheel no longer works. If I enable the scroll bar along the side, then scrolling with that still works but not the mouse wheel.

Fixed it!

I had setup the scroll view element in the UI builder to take up the whole canvas, and then positioned it by changing the border and margin settings. Getting rid of the border stuff and just sizing and positioning the element directly fixed the problem.