diff --git a/lib/src/chips_input.dart b/lib/src/chips_input.dart index 9731f4b4..5d599c23 100644 --- a/lib/src/chips_input.dart +++ b/lib/src/chips_input.dart @@ -350,16 +350,10 @@ class ChipsInputState extends State> putText; setState(() { final textLength = updatedText.characters.length; - final replacedLength = _chips.length; _value = _value.copyWith( text: updatedText, selection: TextSelection.collapsed(offset: textLength), - composing: (Platform.isIOS || replacedLength == textLength) - ? TextRange.empty - : TextRange( - start: replacedLength, - end: textLength, - ), + composing: TextRange.empty, ); }); _textInputConnection ??= TextInput.attach(this, textInputConfiguration);