Open TonyLuo opened 9 years ago
@TonyLuo I have the same problem, do you have fixed that ?
I had a similar problem, but only if you are using ion-side-menu
the code was measuring the wrong headerHeight = activeHeader.offsetHeight;
I had to mod the code to get the right one.
// mlin: fix scrollTop bug with ionSideMenu, @line:81
var sideMenu = body.querySelector('ion-side-menu-content');
var parent = sideMenu ? sideMenu : body;
cachedHeader = parent.querySelector('[nav-bar="cached"] .bar-header');
activeHeader = parent.querySelector('[nav-bar="active"] .bar-header');
In the page which header is hided, click the item , go to another new page, the new page header is also hided. Is any way to show the header in the new page ?