From 057a95ab530b52ce7400913e9a44739b87c68ab4 Mon Sep 17 00:00:00 2001 From: Molly Smith Date: Wed, 9 Aug 2023 16:22:39 -0600 Subject: [PATCH] Fixed bugs that Craig found in beta testing --- .../mats-common/imports/startup/client/select_util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meteor_packages/mats-common/imports/startup/client/select_util.js b/meteor_packages/mats-common/imports/startup/client/select_util.js index 6d5a71865..99ac74ee7 100644 --- a/meteor_packages/mats-common/imports/startup/client/select_util.js +++ b/meteor_packages/mats-common/imports/startup/client/select_util.js @@ -229,7 +229,7 @@ const checkHideOther = function (param, firstRender) { `${controlledSelectors[i]}-item` ); if (selectorControlElem && selectorControlElem.style) { - if (param.controlButtonVisibility !== "none" && !doNotShow) { + if (param.controlButtonVisibility !== "none" && !doNotShow && (elem.offsetParent !== null || param.name === "plot-type")) { selectorControlElem.style.display = "block"; selectorControlElem.purposelyHidden = false; }