Ionic 2 - Re-render view?


#1

Is there a way to force a re-render of ion-content? I have an element that gets added/removed from the DOM in the <ion-header>, based on a boolean.

On the initial loading of the view, the element is there, and the elements in the <ion-content> div have the correct margins, however, when the boolean changes and that element gets removed from the DOM, the elements in the div don’t get shifted up to compensate for the empty space.

Is there anything I can do to force a re-render of the entire view?