Skip to content

Add without-arrow to popover and tooltip to hide arrows without artifacts #1253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

claviska
Copy link
Member

Fixes the issue described in: https://x.com/realsamuelcook/status/1950585557857309102

The current advice to users who want to remove arrows is to set --arrow-size: 0 but that leaves tiny but visible artifacts. This introduced without-arrow to hide them instead, which follows existing conventions for hiding/showing optional content in the library.

I couldn't find a CSS-only way to do this when the arrows have borders. This only affected popover, but tooltips with styled borders will be affected to so I preemptively updated it.

@claviska claviska requested a review from KonnorRogers July 30, 2025 17:56
@claviska claviska self-assigned this Jul 30, 2025
@claviska claviska added bug Something isn't working enhancement Improvements to an existing feature labels Jul 30, 2025
Copy link

vercel bot commented Jul 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
webawesome ✅ Ready (Inspect) Visit Preview Jul 30, 2025 5:56pm

@claviska claviska merged commit b7a6ebd into next Jul 30, 2025
2 checks passed
@claviska claviska deleted the arrow-size branch July 30, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Improvements to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants