From 2cf338e94871c64c7d6b85c4f71754309942003e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sat, 5 Aug 2017 15:18:00 -0400 Subject: [PATCH] Do not suppress opacity transition for tooltipped-no-delay As far as I understand (the git history is not too easy to follow on this repo :/), when `tooltipped-no-delay` was added, there were no animations/transitions on the tooltip. This commit removes the delay, so that the transition starts immediately, instead of suppressing the transition entirely. It effectively makes the 2 variants differ by only the initial delay (like the name suggests). --- modules/primer-tooltips/lib/tooltips.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/primer-tooltips/lib/tooltips.scss b/modules/primer-tooltips/lib/tooltips.scss index 84aa51c628..1c56165563 100644 --- a/modules/primer-tooltips/lib/tooltips.scss +++ b/modules/primer-tooltips/lib/tooltips.scss @@ -71,8 +71,7 @@ .tooltipped-no-delay:focus { &::before, &::after { - opacity: 1; - animation: none; + animation-delay: 0s; } }