react-component / react-component/tooltip

is there away to keep 'hidden on click background behavior' while setting 'visible' property at same time?

Open
#252 0 comments 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

I found if I setting the 'visible' property to tooltip, then I can not close the tooltip by click other place in the page. is there a way to keep the function while setting 'visible' property at the same time?

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 behavior described: set a tooltip's visible property and then click elsewhere on the page. Read the tooltip's controlled-visibility and click-away behavior to determine whether both can coexist. Done means an explicitly visible tooltip can still close when the user clicks elsewhere, with the intended behavior covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.