So, I'm sure many folks who've fiddle around with arcade expressions in webmaps have noticed that, when an arcade expression (added as a text element, not an arcade element) returns null in a popup, it still takes up a blank line as a sort of placeholder.
My question is if there's a way to hide this line. So, say my expression is this:
if($feature.status == "Demolished") {
return "This Feature Has Been Demolished"
}
When $feature.status != demolished a line is still created in the place of where the text should be, resulting in an empty line in between popup elements, despite the lack of an else return statement such as "else return ""."
I've seen similar posts about this in the community but haven't found a working answer. If anybody could tell me whether this is fixable or destined to be I would greatly appreciate it.
Thanks!