fix: Make code-action popup auto close like other popups (#13832)

pull/13839/head
CalebLarsen 2025-06-25 08:21:24 -05:00 committed by GitHub
parent 974ac9eaf3
commit c3c4895179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -807,7 +807,9 @@ pub fn code_action(cx: &mut Context) {
});
picker.move_down(); // pre-select the first item
let popup = Popup::new("code-action", picker).with_scrollbar(false);
let popup = Popup::new("code-action", picker)
.with_scrollbar(false)
.auto_close(true);
compositor.replace_or_push("code-action", popup);
};