Setup:
An iOS app with two pages:
Page 1 has no ActionBar
this.page.actionBarHidden = true;
Page 2 has an ActionBar with back button
<ActionBar title="Page 2">
<NavigationButton text="Back"></NavigationButton>
</ActionBar>
Steps:
Expected:
Actual:
@melshall using this test application I was not able to reproduce the issue.
Can you please test the application on your side and give more details on how to reproduce the described behavior. For example, have you set curve and also on what device/emulator you are testing?
If your case differs please provide a code snippet or sample project we can work with.
I'm using an Angular based app and I'm testing on iOS 10.3 emulator and iPhone 7 (physical test device).
The back button handling was simply doing
onBack() {
this.routerExtensions.back();
}
Thanks to your test app, changing it to:
onBack() {
this.routerExtensions.navigate(["home"],
{
clearHistory: true,
animated: true,
transition: {
name: 'slideRight'
}
});
}
resolved the issue.
The default behavior on iOS is the "slideRight" that's why I didn't explicitly trigger a transition. But it seems that with an ActionBar to no ActionBar transition, an explicit slideRight transition is needed for things to look right.
@melshall I have created this Angular test application using the described scenario but still was not able to reproduce the issue so I am closing this one as we have a workaround for your case and it seems that it is not consistently reproduced.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.