How can I dock the “BottomLink” to the bottom of the screen ONLY when there is whitespace between the items and the link? The Items are dynamic, there can be 2 or more (max. 10).
When there isn’t any whitespace between the items and the link, the BottomLink should not dock to the bottom of the screen but to the bottom of the content.
That’s just a quick proof-of-concept I threw together in minutes. The issue you’re seeing should be fixable by getting the math right in the UX expressions - as the listPlaceholder height is changed to 0, so does the height(list) change - which results in the green rectangle “jumping around”.
It could be as simple as deducting (or adding?) height(listPlaceholder) in the formula