-
Couldn't load subscription status.
- Fork 5.7k
Description
Summary
When "Go to line" is visible, clicking (or dragging/etc.) on the editor should work as normal (and dismiss the "Go to line" dialog) instead of cancelling the operation and returning the scroll position back to where it was before.
Possibly related to #257
Description
Steps to reproduce:
- Have a long file open in the editor
- Open "Go to line" (using keyboard shortcut or command palette)
- Enter a line number for some other section of the file (without pressing Enter to finish)
- With the desired section of the file visible, try to place your text cursor somewhere or select a range using the mouse
Expected Behavior:
The click places the cursor (or selects the range etc.) as it normally would when editing
Actual Behavior:
The click cancels the "Go to line" activity and the scroll position jumps back to where it was before step 2
Zed Version and System Specs
Zed: v0.196.6 (Zed)
OS: Linux Wayland ubuntu 25.04
Memory: 61.1 GiB
Architecture: x86_64
GPU: Intel(R) Arc(tm) Graphics (MTL) || Intel open-source Mesa driver || Mesa 25.0.7-0ubuntu0.25.04.1