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
fix(tooltip): keep tooltip content visible as user hovers #447
Conversation
Thank you, 🤖 Clarity Release Bot |
6b5a3db
to
4b1b3a9
Compare
Previously, the tooltip content was hidden as soon as the user moused out of the trigger. Now, the tooltip content will stay visible if the user mouses from the trigger into the content. To support this, the tooltip content has an expanded hover target provided by the `::after` pseudo element. VPAT-617
4b1b3a9
to
7d77a00
Compare
@@ -110,6 +110,15 @@ | |||
transition: opacity 0.3s linear; | |||
white-space: normal; | |||
z-index: map-get($clr-layers, tooltips); | |||
|
|||
&::after { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great solution, thanks!
This was released in 13.11.12. |
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
PR Checklist
PR Type
Bugfix
What is the current behavior?
The tooltip content was hidden as soon as the user moused out of the trigger.
Issue Number: VPAT-617
What is the new behavior?
The tooltip content will stay visible if the user mouses from the trigger into the content. To support this, the tooltip content has an expanded hover target provided by the
::after
pseudo element.Does this PR introduce a breaking change?
No.