Sounds like it could be a bug, if scrolling is disabled on desktop but not on mobile, as both desktop and mobile should function the same way. Maybe the touchscreen sends a swipe signal or or something, so it doesn't need the scroll bar, though if that is the case then the mouse wheel should in theory still scroll too. If the mouse wheel on desktop cannot scroll, but the Android device can, then it might not be a bad idea to open a bug report on the Godot repository.
I don't know of any solutions right off, unfortunately. Maybe try using the get_v_scroll
function and set min_value
and max_value
to 0
. You might also need to set allow_greater
and allow_lesser
to false
. I don't know if that will fix the issue though, since the issue might not directly be the scrollbar.
Another thing you can try is call scroll_to_line(0)
every _process
call. It would kinda be more of a workaround than a proper fix, but it might work.
Outside of that, I'm not sure right off. I'll keep a look out for other potential solutions though and will post them if I find any.