themesberg / themesberg/flowbite-react
Add optional delay to `Tooltip`s
Open
Nobody has claimed this yet.
:rocket: enhancement
good first issue
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
As it is, tooltips show up (or begin to show up) immediately on mouse over. I propose adding a delay attribute to the Tooltip component that will delay showing by that many milliseconds.
Contributor guide
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
Locate the Tooltip component and read how it currently begins showing on mouse over. Add an optional delay in milliseconds while preserving the current immediate behavior when it is not provided, then verify that the tooltip waits for the requested duration before appearing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100