react-component / react-component/tree-select
Dropdown not rendering
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
Hi TreeSelect is not rendering properly despite importing all the styles. Below is my code
import 'rc-tree-select/assets/index.less';
import TreeSelect from 'rc-tree-select';
function App() {
const data = [{
label: 'search me',
value: 'searchme',
}]
return (
<div>
Tree select demo
<TreeSelect treeData={data} style={{ width: '300px' }} placeholder="select" />
</div>
);
}
export default App;
Dropdown is not rendering correctly as can be seen from the attached screenshot. Am I missing something here or is it a bug. Please let me know

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 reproducing the supplied App example using the shown TreeSelect import, treeData, style, and placeholder, then compare the rendering with the attached screenshot. Done means determining whether the dropdown appearance is caused by the reported setup or by a component bug, with the missing environment and reproduction details documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100