Skip to content

Commit 71b198c

Browse files
fixup! TF-3308 Implement super_drag_and_drop
1 parent 01e2f41 commit 71b198c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/lib/presentation/views/text/text_field_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class _TextFieldBuilderState extends State<TextFieldBuilder> {
144144

145145
return TextDropZoneWeb(
146146
onDrop: (value) {
147-
(_languageToolController ?? _controller)?.text = value;
147+
(_languageToolController ?? _controller)?.text += value;
148148
widget.focusNode?.requestFocus();
149149
_onChanged(value);
150150
},

lib/features/composer/presentation/widgets/recipient_composer_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class _RecipientComposerWidgetState extends State<RecipientComposerWidget> {
176176
if (_isDragging) {
177177
stateSetter(() => _isDragging = false);
178178
}
179-
widget.controller?.text = value;
179+
widget.controller?.text += value;
180180
widget.focusNode?.requestFocus();
181181
},
182182
child: TagEditor<SuggestionEmailAddress>(

0 commit comments

Comments
 (0)