Skip to content

findDOMNode throws inside Suspense with componentDidUpdate #15857

@zombieJ

Description

@zombieJ

It is a...

🐞 BUG

What is the current behavior?

屏幕快照 2019-06-11 上午11 32 42

Reproduce

https://codesandbox.io/s/antd-reproduction-template-7jmkr

  1. Quick click Page 1 button.
  2. Then, quick click Page 2 button.

What is the expected behavior?

findDOMNode should work in Suspense

Others

related issue: #14188

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions