Scrollbar doesn't work while dragging over gutter of sibling split pane
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
When grabbing the scroll bar, and dragging it over the gutter of a sibling split pane, it stops updating its scroll position.
https://github.com/zed-industries/zed/assets/1282767/597877b2-b853-4fbc-bac6-55cd2b600961
There was a very similar bug that was solved in #10737 which stopped other drags from updating while hovering the gutter, but the solution to that bug doesn't also fix this one, since editor scroll drags aren't "registered" as app drags (as far as I can understand from the code).
I couldn't quite find what causes the issue in this case. Do you have an idea @as-cii?
Environment
Zed: v1.0.0 (Zed Dev c90263d59b8cde9e007f16b286f040fa849ecb24) OS: Linux 1.0.0 Memory: 31.1 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
No response
I just noticed, that this only happens while hovering over the gutter of a split editor to the right side, not when dragging the scroll bar on an editor on the right while hovering over the gutter of a split on the left. Here is a short video showing that:
https://github.com/zed-industries/zed/assets/1282767/0a02425e-20e1-4e47-be67-d137f68fb579