patternfly / patternfly/patternfly-react

Bug - Drawer - Components don't allow ref forwarding

Open
#12,650 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PF Team
Dominant language
TypeScript
Stars
862
Forks
392
Avg merge
4d 8h
Merged PRs (30d)
9

Description

Describe the problem
Drawer subcomponents do not allow ref forwarding. This makes it impossible to control focus with refs.

Expected behavior
Button and other components allow ref forwarding.

Is this issue blocking you?
I guess we can grab by selector, but it is a pain.


Jira Issue: PF-4632

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Drawer subcomponents and compare them with the Button component's ref forwarding behavior. Verify the affected components accept refs and that callers can use those refs to control focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.