Skip to content

Card - Add ref forwarding #11461

Open
@rebeccaalpert

Description

@rebeccaalpert

Describe the problem
The card component doesn't have ref forwarding. We want to add ref forwarding for work in Chatbot: patternfly/chatbot#409

We need to add focus to the card for accessibility purposes. We have a short term work around, but would appreciate a built-in solution.

How do you reproduce the problem?
See https://github.com/patternfly/patternfly-react/blob/main/packages/react-core/src/components/Card/Card.tsx; there is no ref forwarding.

Expected behavior
We would appreciate ref forwarding.

Is this issue blocking you?
No.

What is your product and what release date are you targeting?
PatternFly ChatBot

Metadata

Metadata

Assignees

Labels

Projects

Status

PR Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions