Animate retained mobile chat reopening without remounting panes

This commit is contained in:
2026-11-08 00:22:51 +00:00
parent 1a674297c1
commit d189f61eee
6 changed files with 240 additions and 4 deletions
+5 -2
View File
@@ -24,6 +24,7 @@ import 'conversation/chat_add_pane_picker.dart';
import 'conversation/chat_sidebar_controls.dart';
import 'ui/sessions/chat_compact_sidebar.dart';
import 'workspace/chat_workspace.dart';
import 'workspace/chat_workspace_entrance.dart';
import 'ui/sessions/chat_adaptive.dart';
import 'conversation/chat_row_widgets.dart';
import 'conversation/chat_scroll.dart';
@@ -572,8 +573,10 @@ class _ChatScreenState extends State<ChatScreen>
offstage: selected != null,
child: ExcludeFocus(excluding: selected != null, child: list),
),
Offstage(
offstage: selected == null,
ChatWorkspaceEntrance(
visible: selected != null,
cupertino:
chatControlsStyleOf(context) == ChatControlsStyle.cupertino,
child: ExcludeFocus(
excluding: selected == null,
child: MediaQuery(