From 2631aed3744743dbbd458a9254cef77c0b5dfde5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 30 Sep 2020 16:19:52 -0500 Subject: [PATCH] ProfileHoverCard: fix #425 hide hover card when ref gets detatched --- app/styles/components/profile_hover_card.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/styles/components/profile_hover_card.scss b/app/styles/components/profile_hover_card.scss index b5b9da716..a30895897 100644 --- a/app/styles/components/profile_hover_card.scss +++ b/app/styles/components/profile_hover_card.scss @@ -104,4 +104,9 @@ background: linear-gradient(0deg, var(--foreground-color) 0%, var(--foreground-color), 80%, transparent); } } + + &[data-popper-reference-hidden="true"] { + visibility: hidden; + pointer-events: none; + } }