pnp / pnp/sp-dev-fx-controls-react
Treeview control, default selected key focus
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Hi,
I am using https://pnp.github.io/sp-dev-fx-controls-react/controls/TreeView/ control.
I passing a key defaultSelectedKeys={this.state.defaultSelected} , this works. but doesnt focus on the item due to long list of tree strutcure.
is there a way to focus on the item ?
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
Start with the TreeView control documentation and the reported defaultSelectedKeys usage. Trace how a selected key is handled in the TreeView for long nested lists, then verify the expected focus behavior; done means the selected item receives focus or the supported limitation and required API are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100