What OS/Browser are you using?
On FF / Win 11, I can use the scrollbar by dragging it with the mouse, a scroll wheel, or pen input when the window is docked while another is adjacent to the right. I can’t use the scrollbar via touch, but the window scrolls with touch.in the middle of the page.
I too use FF/win 11, but just tried Chrome with win 11 and the scroll bar stayed large (which is also a little strange)
I’m running out of ideas, but do you have any custom components for themes/UI enhancements?
If so, its possible one of those are causing the issue??? (Maybe, side note, front end dev isn’t really my thing)
As a work around you could try Microsoft PowerToys. While it wont fix your underlying problem, it will give you more control with how windows dock.