Code Monkey home page Code Monkey logo

flutter_tracker_widget's People

Contributors

jdongkhan avatar

Stargazers

 avatar

Watchers

 avatar

flutter_tracker_widget's Issues

Unhandled Exception: Cannot get renderObject of inactive element

Hello there. I've found this amazing project when looking for an alternative to inview_notifier_list (it doesn't support ListView.builder) and It was working as expected but when I try to scroll up so fast it gives me this error.

[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Cannot get renderObject of inactive element.
In order for an element to have a valid renderObject, it must be active, which means it is part of the tree.
Instead, this element is in the _ElementLifecycle.defunct state.
If you called this method from a State object, consider guarding it with State.mounted.
The findRenderObject() method was called for the following element:
  StatefulElement#081b1(DEFUNCT)
#0      Element.findRenderObject.<anonymous closure>
package:flutter/…/widgets/framework.dart:4006
#1      Element.findRenderObject
package:flutter/…/widgets/framework.dart:4019
#2      TrackerState._handleFirstRender
package:flutter_tracker_widget/src/tracker_state.dart:68
<asynchronous suspension>

Is this project still maintained? and if so, is there a fix to this issue?

In inview_notifier_list the same error would happen if I tried to scroll too fast but it looks like it was solved with this commit.

I don't know if the commit above is relevant, but I hope it gives an idea about how to solve this issue.

Thank you for your incredible work and Good Luck.

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.