Hey,
I have a lot of collapsing elements on my page, but if they’re all collapsed the footer stays on it’s old position and doesn’t set a new page height.
That’s my code:
function Collapse() {
let collapse = $w('#dataset1').getTotalCount();
if (collapse === 0) {
$w("#Box1").collapse();
$w("#Repeater1").collapse();
$w("#Strip1").collapse();
$w("#button14").collapse();
} else {
$w("#Box1").expand();
$w("#Repeater1").expand();
$w("#Strip1").expand();
$w("#button14").expand();
}