react-component / react-component/tree-select
Tree Nodes that are disabled and in treeDefaultExpandedKeys[] are not expanded
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
Tree nodes that have children and are disabled will not open when their ID is int he treeDefaultExpandedKeys array. This occurs even when sub-elements are not disabled. The user can expand the node manually.
This is a use case in which the parent is not clickable (perhaps just a place holder) and the children are valid options.
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 by tracing how treeDefaultExpandedKeys is handled for disabled tree nodes, then reproduce the case with a disabled parent and enabled children. The issue is done when a disabled parent listed in treeDefaultExpandedKeys opens its children automatically, while manual expansion continues to work.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100