Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to find node on an unmounted component. #70

Closed
paradox42 opened this issue Nov 21, 2018 · 0 comments · Fixed by #71
Closed

Unable to find node on an unmounted component. #70

paradox42 opened this issue Nov 21, 2018 · 0 comments · Fixed by #71

Comments

@paradox42
Copy link

paradox42 commented Nov 21, 2018

×

Unable to find node on an unmounted component.
▼ 5 stack frames were expanded.
invariant
node_modules/react-dom/cjs/react-dom.development.js:57
findCurrentFiberUsingSlowPath
node_modules/react-dom/cjs/react-dom.development.js:4439
findCurrentHostFiber
node_modules/react-dom/cjs/react-dom.development.js:4451
findHostInstance
node_modules/react-dom/cjs/react-dom.development.js:18563
findDOMNode
node_modules/react-dom/cjs/react-dom.development.js:19069
▲ 5 stack frames were expanded.
ReactIScroll._runInitializeIScroll
/home/USER_NAME/Desktop/PROJECTNAME/dist/PROJECT_FILE.min.js:74541
  74538 |     iScroll = _props.iScroll,
  74539 |     options = _props.options; // Create iScroll instance with given options
  74540 | 
**> 74541 | var iScrollInstance = new iScroll(_reactDom2.default.findDOMNode(this), options);**
        | ^  74542 | this._iScrollInstance = iScrollInstance; // TODO there should be new event 'onInitialize'
  74543 | 
  74544 | this._triggerRefreshEvent(); // Patch iScroll instance .refresh() function to trigger our onRefresh event
View compiled
(anonymous function)
/home/jhe76/Desktop/PROJECT/PROJECT_NAME/dist/PROJECT_FILE.min.js:74576
  74573 |   } else {
  74574 |     var timeout = defer === true ? 0 : defer;
  74575 |     this._initializeTimeout = setTimeout(function () {
> 74576 |       return _this4._runInitializeIScroll();
        | ^  74577 |     }, timeout);
  74578 |   }
  74579 | }
npm -v reactiscroll
6.4.1

I have to stick with this version because I don't have the rights to update package in my team.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant