diff --git a/lib/features/mailbox/presentation/mailbox_controller.dart b/lib/features/mailbox/presentation/mailbox_controller.dart index c78584405..8ba09a82b 100644 --- a/lib/features/mailbox/presentation/mailbox_controller.dart +++ b/lib/features/mailbox/presentation/mailbox_controller.dart @@ -199,6 +199,8 @@ class MailboxController extends BaseMailboxController with MailboxActionHandlerM if (defaultMailboxTree.value.updateExpandedNode(selectedMailboxNode, newExpandMode) != null) { log('toggleMailboxFolder() refresh defaultMailboxTree'); defaultMailboxTree.refresh(); + final _childrenItems = defaultMailboxTree.value.root.childrenItems ?? []; + _triggerScrollWhenExpandMailboxFolder(_childrenItems, selectedMailboxNode); } if (personalMailboxTree.value.updateExpandedNode(selectedMailboxNode, newExpandMode) != null) {