83
83
will be restored to the default value before the animation, and the content
84
84
will be pushed under the header. We need to connect to the header changes
85
85
so we can reset the state and the topMargin.
87
87
if (rootItem && rootItem.__propagated && rootItem.__propagated.header) {
88
88
rootItem.__propagated.header.visibleChanged.connect(fixTopMargin);
89
89
rootItem.__propagated.header.heightChanged.connect(fixTopMargin);
93
99
function fixTopMargin() {
94
100
if (style.state === "refreshing") {