Hey Guys,
i experienced sth very strange. Whenever I opened the keyboard of an prompt alert, the style Attribute margin-top
of the <div class="scroll-Content"></div>
in <ion-content>
gets deleted. That mean, that the page Content was pushed under my Header. That happened only for my main page.
I found an Workaround with this:
ionViewDidEnter() {
var scrollcontent = document.getElementsByClassName('scroll-content');
scrollcontent[1].setAttribute("style", "margin-top: 56px");
}
Is this a bug or just sth very random in my Code?