GithubHelp home page GithubHelp logo

Comments (6)

John-01 avatar John-01 commented on May 25, 2024 1

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.

danvick avatar danvick commented on May 25, 2024 1

Thanks @tomgrin10 for bringing this to my attention.

@John-01 I appreciate the keen eye in identifying the problem.

from flutter_chips_input.

John-01 avatar John-01 commented on May 25, 2024

I have same issue.

from flutter_chips_input.

rafaelsilvany avatar rafaelsilvany commented on May 25, 2024

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.

tomgrin10 avatar tomgrin10 commented on May 25, 2024

@danvick Why did you close the issue? Did you fix it already?

from flutter_chips_input.

rafaelsilvany avatar rafaelsilvany commented on May 25, 2024

I still have the issue with the v1.9.1. Why has this been closed?

from flutter_chips_input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.