zed icon indicating copy to clipboard operation
zed copied to clipboard

Changing scroll devices will cause the scrollbar to snap to the top or bottom.

Open Explodey-Wolf opened this issue 7 months ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

First open up a file in zed. Scroll somewhere to the middle Switch input devices that you use to scroll(for example I switched from using my wireless mouse to my laptop trackpad) The scrollbar should snap to the bottom or top, depending on which way you scrolled.

Environment

Zed: v0.143.7 (Zed) OS: Linux X11 endeavouros unknown Memory: 19.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 Zed.log file to this issue.

Zed.log

2024-07-13T17:09:56-04:00 [WARN] Unable to forbid exclusive full screen
2024-07-13T17:10:23-04:00 [WARN] Generic lsp request to node failed: Unhandled method textDocument/definition
2024-07-13T17:10:29-04:00 [WARN] Generic lsp request to node failed: Unhandled method textDocument/definition
2024-07-13T17:10:32-04:00 [WARN] Unknown button press: ButtonPressEvent { .. }
2024-07-13T17:11:01-04:00 [WARN] Unknown button press: ButtonPressEvent { .. }
2024-07-13T17:11:01-04:00 [WARN] Unknown button press: ButtonPressEvent { .. }
2024-07-13T17:11:01-04:00 [WARN] Unknown button press: ButtonPressEvent { .. }
2024-07-13T17:11:02-04:00 [WARN] Unknown button press: ButtonPressEvent { .. }
2024-07-13T17:11:03-04:00 [WARN] Unknown button press: ButtonPressEvent { .. }

I tried to do the scrolling as close to 17:11 as possible.

Explodey-Wolf avatar Jul 13 '24 21:07 Explodey-Wolf