Closed at-the-vr closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
astro-badge | âś… Ready (Inspect) | Visit Preview | Mar 11, 2024 10:07am |
Hey Chris, the logic behind making the tooltip appear with link on focus is something I am unable to achieve. Every other suggestion was tried locally and it works but without the focus feature its just getting blocked. I will close the PR on that note
No problem @at-the-vr! Also, don’t hesitate to mention when you get stuck on something — maybe someone else can help out.
To give you a hint: I probably would have tried moving the group
class up to the <li>
containing both the link and the bar. And then used the group-focus-within:
Tailwind modifier the same way you did group-hover:
. That way when the link is focused with the keyboard, the tooltip would be revealed (I think — haven’t tested).
But no pressure to spend time on this if you already feel like you invested enough energy — we only have so much time 💜