Comments (6)
I found problematic code line in this library: https://github.com/danvick/flutter_chips_input/blob/master/lib/src/chips_input.dart#L331
" Line331 print(_value); "
Looks like it prints invalid UTF-8 into console and that causes crashes.
Solution would be to just remove that line since it is totally unnecessary for functionality.
from flutter_chips_input.
Thanks @tomgrin10 for bringing this to my attention.
@John-01 I appreciate the keen eye in identifying the problem.
from flutter_chips_input.
I have same issue.
from flutter_chips_input.
This is also happening with me on iOS Simulator. @John-01, your assessment seems to make sense. I see a lot of prints that weren't there before.
flutter: TextEditingValue(text: ┤F├, selection: TextSelection(baseOffset: 1, extentOffset: 1, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
flutter: TextEditingValue(text: ┤Fo├, selection: TextSelection(baseOffset: 2, extentOffset: 2, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
flutter: TextEditingValue(text: ┤For├, selection: TextSelection(baseOffset: 3, extentOffset: 3, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
flutter: TextEditingValue(text: ┤Forr├, selection: TextSelection(baseOffset: 4, extentOffset: 4, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))
flutter: TextEditingValue(text: ┤Forr'├, selection: TextSelection(baseOffset: 5, extentOffset: 5, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 4, end: 5))
flutter: TextEditingValue(text: ┤Forr'ó├, selection: TextSelection(baseOffset: 6, extentOffset: 6, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 4, end: 5))
flutter: TextEditingValue(text: ┤Forr'├, selection: TextSelection(baseOffset: 5, extentOffset: 5, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 4, end: 5))
flutter: TextEditingValue(text: ┤Forr├, selection: TextSelection(baseOffset: 4, extentOffset: 4, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: 4, end: 5))
Lost connection to device.
In my case, it happens specifically when I erase special characters for accentuation.
from flutter_chips_input.
@danvick Why did you close the issue? Did you fix it already?
from flutter_chips_input.
I still have the issue with the v1.9.1. Why has this been closed?
from flutter_chips_input.
Related Issues (20)
- Delay between typing text and getting a suggestion
- Compiler error after upgrading to Flutter 2.13.0-0.2.pre (Beta channel) HOT 1
- Error in TextInputClient for flutter 3 HOT 6
- Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null
- After version 2.0.0 can only enter a single character HOT 2
- Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
- Cannot delete the initial value with normal delete button keyboard HOT 1
- Error on showing chips when adding suffix or prefix icons
- Is there a way to add the user input value even if the value is not found. HOT 2
- Changing background of the input area
- Keyboard backspace not registered HOT 1
- add in readme
- write @ then complete HOT 1
- How to not dismiss the suggestion list while choosing many suggestion at a time
- ChipsInputState missing performSelector override
- Add "@" as a char HOT 1
- Move this repository to Flutter form builder ecosystem HOT 1
- Not able to add more than 1 character and backspace also not working in samsung devices using samsung default keyboard. HOT 2
- Not compatible with flutter 3.7 HOT 22
- Hello, how to make the textEditController selection to the end when addeda WidgetSpan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_chips_input.