We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d5e1d commit 2193b3aCopy full SHA for 2193b3a
lib/src/chips_input.dart
@@ -350,16 +350,10 @@ class ChipsInputState<T> extends State<ChipsInput<T>>
350
putText;
351
setState(() {
352
final textLength = updatedText.characters.length;
353
- final replacedLength = _chips.length;
354
_value = _value.copyWith(
355
text: updatedText,
356
selection: TextSelection.collapsed(offset: textLength),
357
- composing: (Platform.isIOS || replacedLength == textLength)
358
- ? TextRange.empty
359
- : TextRange(
360
- start: replacedLength,
361
- end: textLength,
362
- ),
+ composing: TextRange.empty,
363
);
364
});
365
_textInputConnection ??= TextInput.attach(this, textInputConfiguration);
0 commit comments