Shell: on wide windows the tabs stay under the list column even with no item open

This commit is contained in:
2026-11-03 14:04:08 +00:00
parent 251cc4f274
commit 4149c57d70
3 changed files with 30 additions and 8 deletions
+3 -1
View File
@@ -166,7 +166,9 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
final bar = ListenableBuilder(
listenable: Listenable.merge([_bar.badges, _bar.bar, _paneWidths]),
builder: (context, _) {
final split = _bar.split(_selected);
// On a wide window the bar stays under the list column even when no
// item is open (Search, a list alone), so it never jumps sides.
final split = _bar.split(_selected) || showsListBesideDetail(context);
return ListPaneWidth(
split: split,
preferredWidth: _paneWidths.widthFor(_selected.name),