Skip to content

Get ref of Card component #33730

@saeedShamloo

Description

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Open the console and see the result of getting height of Card component

What is expected?

I expect to record the Dom element related to Card component

What is actually happening?

Actually it doesn't assign anything to my ref variable

Environment Info
antd 4.18.3
React 17.0.2
System Windows10
Browser Chrome v96

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedThe suggestion or request has been accepted, we need you to help us by sending a pull request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions