New issue

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

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

Already on GitHub? Sign in to your account

Unable to find node on an unmounted components always occurs #12843

Closed
sakopqiu opened this Issue Oct 26, 2018 · 3 comments

Comments

Projects
None yet
6 participants
@sakopqiu

sakopqiu commented Oct 26, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.10.2

Environment

macos chrome 70.0.3538.67, react 16.6.0 react-dom 16.6.0

Reproduction link

https://ant.design/docs/react/introduce-cn

Steps to reproduce

We are using the <Button/> component not the <Wave/> component, but it seems the error occurs in Wave's componentDidmount method.
We switched from antd 3.8.4 to 3.9.3 to 3.10.2, but the problem still lurks

react-dom.development.js:55 Uncaught Error: Unable to find node on an unmounted component.
    at invariant (react-dom.development.js:55)
    at findCurrentFiberUsingSlowPath (react-dom.development.js:4161)
    at findCurrentHostFiber (react-dom.development.js:4269)
    at findHostInstanceWithWarning (react-dom.development.js:18296)
    at findDOMNode (react-dom.development.js:18774)
    at Wave.componentDidMount (wave.js:118)
    at commitLifeCycles (react-dom.development.js:14685)
    at commitAllLifeCycles (react-dom.development.js:15905)
    at HTMLUnknownElement.callCallback (react-dom.development.js:145)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:195)

What is expected?

This error should never happen

What is actually happening?

This error should never happen

@ant-design-bot

This comment has been minimized.

ant-design-bot commented Oct 26, 2018

Hello @sakopqiu. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @sakopqiu, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击此处创建。7 天内未跟进的 issue 将会被自动关闭。

@afc163 afc163 closed this in 087f7ef Oct 30, 2018

zy410419243 added a commit to zy410419243/ant-design that referenced this issue Nov 1, 2018

afc163 added a commit that referenced this issue Nov 1, 2018

Merge branch 'master' into feature
* master: (27 commits)
  Fix sort order broken issue when columns were put in render
  fix Modal docs typo
  Improve Alert
  update select props :onPopupScroll
  add transform-origin on dropdown as menu
  Update validate-other.md
  should not hide avatar in vertical item layout of List
  fix stylelint again by locking version :sad:
  Fix fixed-columns Table border issue, close #9687
  site: still need the fallback scrollIntoView, #12683
  use latest stylelint
  site: fix npm run site error
  Update jsdom requirement from ^12.1.0 to ^13.0.0
  🐛 dynamic form doc fix
  Fix button icon margin style bug
  remove babel-plugin deps
  clean up useless deps
  Use recomended babel-preset-env
  findDOMNode to refs, close #12843
  componentWillReceiveProps => getDerivedStateFromProps
  ...
@kc2525

This comment has been minimized.

kc2525 commented Nov 5, 2018

i update antd to 3.10.4 and run npm start but it still happens

@mitjade

This comment has been minimized.

mitjade commented Nov 8, 2018

I get this also on 3.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment