Fix cannot focus recipients, subject and open popup menu when code view is enabled and focused

This commit is contained in:
dab246
2025-09-19 12:44:07 +07:00
committed by Dat H. Pham
parent c15353ccad
commit 69c9476379
4 changed files with 33 additions and 1 deletions
@@ -30,6 +30,7 @@ class BottomBarComposerWidget extends StatelessWidget {
final VoidCallback printDraftAction;
final VoidCallback toggleMarkAsImportantAction;
final VoidCallback saveAsTemplateAction;
final OnMenuChanged? onPopupMenuChanged;
const BottomBarComposerWidget({
super.key,
@@ -51,6 +52,7 @@ class BottomBarComposerWidget extends StatelessWidget {
required this.printDraftAction,
required this.toggleMarkAsImportantAction,
required this.saveAsTemplateAction,
this.onPopupMenuChanged,
});
@override
@@ -182,6 +184,7 @@ class BottomBarComposerWidget extends StatelessWidget {
],
arrangeAsList: true,
position: null,
onMenuChanged: onPopupMenuChanged,
),
const Spacer(),
TMailButtonWidget.fromIcon(