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
@@ -189,10 +189,11 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
final isEmailContentClipped = RxBool(false);
final attendanceStatus = Rxn<AttendanceStatus>();
final htmlContentViewKey = GlobalKey<HtmlContentViewState>();
final attachmentListKey = GlobalKey();
Identity? _identitySelected;
ButtonState? _printEmailButtonState;
GlobalKey? attachmentListKey;
final obxListeners = <Worker>[];
late final EmailActionReactor emailActionReactor;
@@ -249,6 +250,9 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
@override
void onInit() {
if (PlatformInfo.isWeb) {
attachmentListKey = GlobalKey();
}
_threadDetailController = getBinding<ThreadDetailController>();
_injectCalendarEventBindings(session, accountId);
_registerObxStreamListener();