Skip to content

Commit

Permalink
next: actually add data-arrow attribute to floating arrow (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Nov 11, 2024
1 parent 1b99e43 commit 0a0ead5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-berries-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

add tooltip data-attr
2 changes: 1 addition & 1 deletion packages/bits-ui/src/lib/bits/utilities/arrow/arrow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{#if children}
{@render children?.()}
{:else}
<svg {width} {height} viewBox="0 0 30 10" preserveAspectRatio="none">
<svg {width} {height} viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow="">
<polygon points="0,0 30,0 15,10" fill="currentColor" />
</svg>
{/if}
Expand Down

0 comments on commit 0a0ead5

Please sign in to comment.