Skip to content

Commit

Permalink
Fixed bugs that Craig found in beta testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Aug 9, 2023
1 parent 40d6dbe commit 057a95a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 057a95a

Please sign in to comment.