diff --git a/web/src/playground_links_popover.js b/web/src/playground_links_popover.js index df96e3dc6d..0348bfc4cb 100644 --- a/web/src/playground_links_popover.js +++ b/web/src/playground_links_popover.js @@ -35,6 +35,7 @@ function toggle_playground_links_popover(element, playground_info) { fixed: true, }); $elt.popover("show"); + $elt.addClass("active-playground-links-reference"); $current_playground_links_popover_elem = $elt; } } @@ -45,6 +46,7 @@ export function is_open() { export function hide() { if (is_open()) { + $current_playground_links_popover_elem.removeClass("active-playground-links-reference"); $current_playground_links_popover_elem.popover("destroy"); $current_playground_links_popover_elem = undefined; } diff --git a/web/styles/reactions.css b/web/styles/reactions.css index 3a476a8cb4..832b9fa1f9 100644 --- a/web/styles/reactions.css +++ b/web/styles/reactions.css @@ -134,7 +134,8 @@ } } -.active-emoji-picker-reference { +.active-emoji-picker-reference, +.active-playground-links-reference { visibility: visible !important; pointer-events: all !important; opacity: 1 !important;