react-component / react-component/dropdown
Placement prop not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 112
- Avg merge
- 12h 52m
- Merged PRs (30d)
- 2
Description
Passing placement prop doesn't change the class name.
Its always the default bottomRight
"dependencies": {
"rc-dropdown": "^2.4.1"
}
<Dropdown overlay={menu} placement="topRight">
<button>
Actions
</button>
</Dropdown>
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 placement prop from the Dropdown usage shown in the issue and compare it with the class-name behavior for the default bottomRight placement. The work is done when placement="topRight" produces the corresponding class instead of always using bottomRight; verify the behavior with the project's existing checks if available.
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
- 35/100