TF-4075 Jump to attachments list position on web responsive mobile

This commit is contained in:
dab246
2025-10-06 19:43:32 +07:00
committed by Dat H. Pham
parent 5f3098484b
commit 3478e2aabc
10 changed files with 91 additions and 3 deletions
@@ -450,6 +450,9 @@ class EmailView extends GetWidget<SingleEmailController> {
return Obx(() {
if (controller.attachments.isNotEmpty) {
return EmailAttachmentsWidget(
key: PlatformInfo.isWeb && controller.responsiveUtils.isMobile(context)
? controller.attachmentListKey
: null,
responsiveUtils: controller.responsiveUtils,
attachments: controller.attachments,
imagePaths: controller.imagePaths,