Skip to content

Commit

Permalink
Merge branch 'main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Aug 10, 2023
2 parents 07aee00 + a846955 commit 476943f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,11 @@ 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;
}
Expand Down

0 comments on commit 476943f

Please sign in to comment.