themesberg / themesberg/flowbite

data-popper-arrow does not inherit parent style

Open
#600 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

The data-popper-arrow element does not inherit the border style from its parent.

Here is an example of my implementation:

<div id="tooltip-error" class="absolute z-10 invisible inline-block max-w-sm px-3 py-2 text-xs font-normal text-white bg-gray-900 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700 dark:border dark:border-gray-500">
  <%= "Error: #{bucket.connection}" %>
  <div class="tooltip-arrow" data-popper-arrow></div>
</div>
Screenshot 2023-07-10 at 9 27 12 PM

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

No source file or test is named in the issue. Start by reproducing the provided tooltip markup and inspecting the styles applied to the data-popper-arrow element; the work is done when the arrow reflects the parent tooltip's border style.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.