GithubHelp home page GithubHelp logo

Comments (7)

danvick avatar danvick commented on May 26, 2024

Can we by any chance get the fill stack trace?

from flutter_chips_input.

emmaxCreative avatar emmaxCreative commented on May 26, 2024
[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: A FocusNode was used after being disposed.
E/flutter (15189): Once you have called dispose() on a FocusNode, it can no longer be used.
E/flutter (15189): #0      ChangeNotifier._debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:105:9)
E/flutter (15189): #1      ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:111:6)
E/flutter (15189): #2      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:200:12)
E/flutter (15189): #3      FocusNode._notify (package:flutter/src/widgets/focus_manager.dart:815:5)
E/flutter (15189): #4      FocusManager._applyFocusChange (package:flutter/src/widgets/focus_manager.dart:1413:12)
E/flutter (15189): #5      _rootRun (dart:async/zone.dart:1122:38)
E/flutter (15189): #6      _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (15189): #7      _CustomZone.runGuarded (dart:async/zone.dart:925:7)
E/flutter (15189): #8      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
E/flutter (15189): #9      _rootRun (dart:async/zone.dart:1126:13)
E/flutter (15189): #10     _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (15189): #11     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
E/flutter (15189): #12     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
E/flutter (15189): #13     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
E/flutter (15189): #14     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)

from flutter_chips_input.

emmaxCreative avatar emmaxCreative commented on May 26, 2024

any news on this problem?

from flutter_chips_input.

danvick avatar danvick commented on May 26, 2024

Kindly let me know if this problem is fixed in version 1.8.0

from flutter_chips_input.

emmaxCreative avatar emmaxCreative commented on May 26, 2024

Seems fixed.
I added if (mounted) before the setState() in the _onFocusChanged() because I had the same error again when changing to another page that uses the same chipsinput class. But its working now. Thanks for the fix.

from flutter_chips_input.

mohammadne avatar mohammadne commented on May 26, 2024

it doesn't fixed yet , why closed ?

from flutter_chips_input.

coleweinman avatar coleweinman commented on May 26, 2024

@danvick Yeah, I'm still getting this issue on the dev version. I have a ChipsInput widget on a drawer and when the drawer is closed and reopened with a value in the input the error is thrown.

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.