nativescript-angular: ActionBar + Page transition are causing content displacement (iOS)
Hi,
with the transition to {N} 4.1 and nativescript-angular 6.0, I’m facing some issues coming from navigation animations.
I’m transitioning from a flat actionBar to a “regular” one, and the page is not correctly positionned.

When I’m removing the animation, the position is correct.

Seems like the animation calculations aren’t correct.
Another example I have is with a page having a negative marginTop (to display an image under the actionBar). The position is broken when navigating back to this page. All good without the animations though.
About this issue
- Original URL
- State: open
- Created 6 years ago
- Comments: 20
@jeremypele thank you for the detailed info. Confirming this one as a reproducible bug on iOS.
Steps to reproduce:
flataction barHappening only on iOS. The same will happen if we are navigating from page with
ActionBarto page without anyActionBarRelated to https://github.com/NativeScript/NativeScript/issues/5768
Experiencing this same issue with Nativescript Vue as well.
Same here.
nativescript-angular: 6.06 tns-ios: 4.1.1
this._page.actionBarHidden = true;Can reproduce under iOS 10 and 11.
@NickIliev Easy to reproduce with a new app. I’ve updated the seed on this fork => https://github.com/jeremypele/NS-Issues-2018-II/tree/master/nativescript-angular/issue-1377/app
With the transition: the second page got a padding-top white and going back to the first one put the page content under the status bar.
Without the transition it works just fine.
@NickIliev Another issue, different but can be reproduced on the same demo app.
The header is broken and displays the first page actionbar style.