Using formulas to resize opacity mask
I have a drop down component using an opacity mask to expose the options list. In the instances of the component, I want to be able to turn off a row or two of in the list and have the mask open to the size of the shorter list. I’m currently using a formula that adds the height of the rows to know how tall or short to make the opacity mask.
Not surprisingly, when i turn off a row in the tree of the instance the rows height is still being included in the equation and the mask height does not change.
Im looking for suggestions to modify the formula so the size adjusts to the visible rows, or even a completely different way to tell the mask how large or small to be based on the visible rows.
Ive attached a file for reference.
Thanks,
-MH