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.
This commit is contained in:
Smit Barmase 2025-04-21 17:57:17 +05:30 committed by GitHub
parent a4f5c4fef2
commit 9db0c4f19a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1723,6 +1723,7 @@ impl Editor {
new_anchor.offset,
);
});
editor.hide_signature_help(cx, SignatureHelpHiddenBy::Escape);
}
}
EditorEvent::Edited { .. } => {