Skip to content

Commit 7d73d1c

Browse files
author
Jorel Cruz
committed
- update _updateTextInputState bug when typing
1 parent 62d5e1d commit 7d73d1c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/src/chips_input.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,7 @@ class ChipsInputState<T> extends State<ChipsInput<T>>
354354
_value = _value.copyWith(
355355
text: updatedText,
356356
selection: TextSelection.collapsed(offset: textLength),
357-
composing: (Platform.isIOS || replacedLength == textLength)
358-
? TextRange.empty
359-
: TextRange(
360-
start: replacedLength,
361-
end: textLength,
362-
),
357+
composing: TextRange.empty,
363358
);
364359
});
365360
_textInputConnection ??= TextInput.attach(this, textInputConfiguration);

0 commit comments

Comments
 (0)