react-component / react-component/tooltip

'visible' parameter will affect the normal work of the 'placement' parameter

Open
#452 2 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.