Skip to content

Commit

Permalink
Fix lost subject focus in composer web
Browse files Browse the repository at this point in the history
  • Loading branch information
dab246 committed Aug 21, 2024
1 parent 1037756 commit 6089e03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/features/composer/presentation/composer_view_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class ComposerView extends GetWidget<ComposerController> {
childBuilder: (context, constraints) {
return GestureDetector(
onTap: () => controller.clearFocus(context),
excludeFromSemantics: true,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Expand Down Expand Up @@ -281,6 +282,7 @@ class ComposerView extends GetWidget<ComposerController> {
childBuilder: (context, constraints) {
return GestureDetector(
onTap: () => controller.clearFocus(context),
excludeFromSemantics: true,
child: Column(children: [
Obx(() => DesktopAppBarComposerWidget(
emailSubject: controller.subjectEmail.value ?? '',
Expand Down Expand Up @@ -543,6 +545,7 @@ class ComposerView extends GetWidget<ComposerController> {
childBuilder: (context, constraints) {
return GestureDetector(
onTap: () => controller.clearFocus(context),
excludeFromSemantics: true,
child: Column(children: [
Obx(() => DesktopAppBarComposerWidget(
emailSubject: controller.subjectEmail.value ?? '',
Expand Down

0 comments on commit 6089e03

Please sign in to comment.