MacOS: Jumpy scrolling on zed (Low Priority)
Reproduction steps
Scroll on any file using built in MacBook trackpad.
Current vs. Expected behavior
The scroll inertia calculation might be inaccurate.
I recorded this video to visualize what the "jumpy" scrolling looks like.
On the right, you can see Karabiner-Elements which shows a representation of my fingers on the trackpad, and on the left is the zed editor.
I marked the part of the scroll that feels "jumpy" with *** on the video, it happens right after I let my finger off of the trackpad, hence why I suspect the inertia calculation to be the culprit.
This seems like a simple fix, but I'm not really familiar with the codebase, moreover I'm not sure whether this is an issue with zed specifically or GPUI, but the issue happens to me on zed, so I'll open an issue here.
Please note that even though I'm using zed preview, this issue has been happening for a while now, I'm not sure start from which version.
Zed version and system specs
Zed: v1.13.0+preview.327.aaf5f57dd36c41cf2ed49b13bcb091d52d5aef45 (Zed Preview) OS: macOS 26.6 Memory: 16 GiB Architecture: aarch64
Attach Zed log file
Logs wont really help in this specific issue.
Relevant Zed settings
No customization was made to the scrolling behavior directly or indirectly.
Relevant Keymap
No response
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Source: zed-industries/zed