themesberg / themesberg/flowbite-react
"Open" prop for Tooltip component and option to set trigger to "none"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Summary
Context
I am trying to make the tooltip only appear when form errors are apparent. There are no options available in flowbite/react, so I am trying to use base flowbite, https://flowbite.com/docs/components/tooltips/#options, to no avail. Tooltips are not extremely necessary for my application, but would be incredibly useful to not have to scrap extra functionality because of one prop missing.
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
Start by locating the Tooltip component in the flowbite-react repository and read the linked Floating UI open-state documentation. Define the requested behavior for a controlled "open" prop and a "none" trigger, then verify the component's existing usage and tests; done means both options work for showing tooltips only when needed.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100