react-component / react-component/tooltip

Support tooltip on React Fragments

Open
#119 1 comment 0 reactions 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

The following code doesn't popup the tooltip:
`<Tooltip overlay={this.getOverlay} placement={'bottomLeft'}>

<React.Fragment>
     { anyInnerChild }
</React.Fragment>
`

But when working with "native" components which are not React Fragments - it works

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 by reproducing the issue with the provided Tooltip and React.Fragment example, then inspect the tooltip entry point and its child handling. Done means the tooltip appears when the fragment contains a child, while existing behavior for native components continues to work.

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.