themesberg / themesberg/flowbite-react

"Open" prop for Tooltip component and option to set trigger to "none"

Open
#1,257 0 comments 0 reactions 0 assignees View on GitHub

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

Describe how it should work, and provide examples of the solution, which might include screenshots or code snippets.

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

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.