Giter Club home page Giter Club logo

Comments (4)

plantain-00 avatar plantain-00 commented on June 28, 2024

I cannot reproduce it, I guess it's caused by the timer.
I cleared the timer in componentWillUnmount, v5.8.3 may fix this issue.

from select2-component.

cniemann88 avatar cniemann88 commented on June 28, 2024

That update did not fix it. I cannot really see where exactly this gets triggered, but it only happens the first time.

Here is an expanded version of the error:


Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in Select2 (created by UserFilterEdit)
    in div (created by UserFilterEdit)
    in UserFilterEdit (created by EditFilter)
    in div (created by EditFilter)
    in EditFilter (created by FiltersEditContainer)
    in div (created by FiltersEditContainer)
    in div (created by FiltersEditContainer)
    in div (created by FiltersEditContainer)
    in FiltersEditContainer (created by FiltersSection)
r @ backend.js:6
warningWithoutStack @ react-dom.development.js?61bb:512
warnAboutUpdateOnUnmounted @ react-dom.development.js?61bb:15630
scheduleWork @ react-dom.development.js?61bb:16927
enqueueSetState @ react-dom.development.js?61bb:11623
Component.setState @ react.development.js?72d0:413
eval @ select2.js?7c77:216
setTimeout (async)
Select2.focusout @ select2.js?7c77:214
onBlur @ select2.js?7c77:102
callCallback @ react-dom.development.js?61bb:145
invokeGuardedCallbackDev @ react-dom.development.js?61bb:195
invokeGuardedCallback @ react-dom.development.js?61bb:248
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js?61bb:262
executeDispatch @ react-dom.development.js?61bb:593
executeDispatchesInOrder @ react-dom.development.js?61bb:615
executeDispatchesAndRelease @ react-dom.development.js?61bb:713
executeDispatchesAndReleaseTopLevel @ react-dom.development.js?61bb:724
forEachAccumulated @ react-dom.development.js?61bb:694
runEventsInBatch @ react-dom.development.js?61bb:855
runExtractedEventsInBatch @ react-dom.development.js?61bb:864
handleTopLevel @ react-dom.development.js?61bb:4857
batchedUpdates$1 @ react-dom.development.js?61bb:17498
batchedUpdates @ react-dom.development.js?61bb:2189
dispatchEvent @ react-dom.development.js?61bb:4936
interactiveUpdates$1 @ react-dom.development.js?61bb:17553
interactiveUpdates @ react-dom.development.js?61bb:2208
dispatchInteractiveEvent @ react-dom.development.js?61bb:4913

Is there a way i can get you a log file that would be useful?

from select2-component.

plantain-00 avatar plantain-00 commented on June 28, 2024

Another try of v5.8.4

from select2-component.

cniemann88 avatar cniemann88 commented on June 28, 2024

5.8.4 fixed it! Many thanks!

from select2-component.

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.