react-component / react-component/tooltip
'visible' parameter will affect the normal work of the 'placement' parameter
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 944
- Forks
- 199
- Avg merge
- 19h 1m
- Merged PRs (30d)
- 3
Description
`const ToolTip: React.FC = (props) => {
const { title, placement, showArrow = true } = props
return <RcTooltip overlay={title} visible={true} showArrow={showArrow} placement="bottomRight" />
}`
if placement="bottomRight" and visible=true, tooltip will show at the top.
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 from the Tooltip component usage shown in the issue, focusing on the interaction between visible={true} and placement="bottomRight". Reproduce the case and trace the positioning behavior; done when a visibly controlled tooltip respects the requested placement instead of appearing at the top.
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