react-component / react-component/tree
Focus on nodes?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 490
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
Not seeing any way to programmatically focus on nodes. Is there any possibility this is in the works or planned for a future state?
I can create an input and trigger a keydown event. However, I'm not able traverse siblings, children, parents, etc from that selected node (only found using class 'rc-tree-node-selected') based on how the tree generates tags/classes/etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify a source file, test, or existing focus entry point. Begin by tracing how the tree renders and selects nodes, then inspect its public API and keyboard behavior. Done would require a defined, documented way to programmatically focus a node and tests covering the supported traversal and focus behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100