From 9db0c4f19a310c4234ee013e072f84d78070dbeb Mon Sep 17 00:00:00 2001 From: Smit Barmase Date: Mon, 21 Apr 2025 17:57:17 +0530 Subject: [PATCH] editor: Hide signature popover on editor scroll (#29149) Closes #27845 This is also how VSCode tackles this issue. I think this should be applicable to even more popovers across the editor and context menu, but it can be addressed later. Release Notes: - Fixed the signature popover not hiding on editor scroll. --- crates/editor/src/editor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 6bda454847..3961e7e75a 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -1723,6 +1723,7 @@ impl Editor { new_anchor.offset, ); }); + editor.hide_signature_help(cx, SignatureHelpHiddenBy::Escape); } } EditorEvent::Edited { .. } => {