react-component / react-component/tree-select
Query regarding search
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
Thank you for this wonderful control.
We are using the rc-tree-control with a few thousand items, and it is working well, except in one scenario.
When we do a search, it is trying to search from the first character input, and this causes a long pause as it expands a large number of Tree Nodes. Is it possible for us to set a character limit for the search input before it will perform a search? For example, it must not try to search until there is at least 3 characters in the search input.
Thank you!
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 the TreeSelect search input and its current search and node-expansion behavior. Determine where a minimum search length could be configured, then verify that input shorter than three characters does not trigger searching or expansion and that searching begins at the threshold.
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
- Mostly clear
- Newbie friendliness
- 35/100