Open
Description
Describe the bug
This happens with iOS only.
When run the app with tns preview
and use back arrow we will see strange behavior.
To Reproduce
tns create TestApp --template tns-template-tab-navigation-ng
tns preview
Tap on an item and then tap back arrow. You will see strange reload on a page and back button doesn't hide. If you tap again back button, you will see that it will disappear. If you tap an item, you will see that nothing happens.
Package.json
{
"nativescript": {
"id": "org.nativescript.lazyApp6",
"tns-android": {
"version": "5.1.0"
},
"tns-ios": {
"version": "5.1.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"scripts": {
"lint": "tslint \"src/**/*.ts\""
},
"dependencies": {
"@angular/animations": "~7.1.0",
"@angular/common": "~7.1.0",
"@angular/compiler": "~7.1.0",
"@angular/core": "~7.1.0",
"@angular/forms": "~7.1.0",
"@angular/http": "~7.1.0",
"@angular/platform-browser": "~7.1.0",
"@angular/platform-browser-dynamic": "~7.1.0",
"@angular/router": "~7.1.0",
"nativescript-angular": "~7.1.0",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.3.0",
"tns-core-modules": "~5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@nativescript/schematics": "~0.4.0",
"codelyzer": "~4.5.0",
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "~0.18.0",
"tslint": "~5.11.0",
"@angular/compiler-cli": "~7.1.0",
"@ngtools/webpack": "~7.1.0"
},
"readme": "NativeScript Application"
}
Expected behavior
reload on a page doesn't need