assistant2: Propagate move up action to inline picker from message editor (#23416)

Agus Zubiaga and Richard created

Release Notes:

- N/A

Co-authored-by: Richard <richard@zed.dev>

Change summary

crates/assistant2/src/message_editor.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Detailed changes

crates/assistant2/src/message_editor.rs 🔗

@@ -241,7 +241,9 @@ impl MessageEditor {
     }
 
     fn move_up(&mut self, _: &MoveUp, cx: &mut ViewContext<Self>) {
-        if self.context_picker_menu_handle.is_deployed() {
+        if self.context_picker_menu_handle.is_deployed()
+            || self.inline_context_picker_menu_handle.is_deployed()
+        {
             cx.propagate();
         } else {
             cx.focus_view(&self.context_strip);