Closed tddang-linagora closed 1 day ago
This PR has been deployed to https://linagora.github.io/tmail-flutter/3279.
onDrag
or onDrop
events in composer.https://github.com/user-attachments/assets/44b122bf-b2fd-4d43-85f9-8bb61bf267ab
It's still really buggy, we should investigate the html onDrag or onDrop events in composer.
Please check again.
Open long email -> reply to it -> enter text -> zoom in/out 1-2 times -> then drag the file in
https://github.com/user-attachments/assets/e39c0563-5210-46e9-8e5c-c79222f2f25a
It's not working perfectly yet.
More fix added. Please check again.
Issue
3264
Root cause
MobileResponsiveContainerView/DesktopResponsiveContainerView/TabletResponsiveContainerView
'schildBuilder
is rebuilt, causingHtmlEditor
builds from scratch, including runninginitState
method again.ComposerController
is alive throughout the rebuilds, causing the callbacks ofHtmlEditor
to break.Dependency
Resolved
https://github.com/user-attachments/assets/9337c68f-93ce-45bd-9ec2-26d1f4b078cc