Yes
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
public static goToMainPage() {
frame.topmost().navigate({
moduleName: "views/main-page/main-page",
animated: true,
clearHistory: true,
// backstackVisible: false,
transition: {
name: "fade",
duration: 350,
curve: "easeIn"
}
})
}
Which platform(s) does your issue occur on?
Please provide the following version numbers that your issue occurs with:
- CLI: (run
tns --version to fetch it)
- Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.json file in your project)
- Runtime(s): (look for the
"tns-android" and "tns-ios" properties in the
package.json file of your project)
- Plugin(s): (look for the version number in the
package.json file of your
project)
- 2.0.0
- 2.0.1
- 2.0.0
- "dependencies": {
"nativescript-cardview": "^1.1.7",
"nativescript-floatingactionbutton": "^2.2.2",
"nativescript-parallax": "^1.1.0",
"nativescript-platform-css": "^1.0.0",
"nativescript-pulltorefresh": "^1.1.4",
"nativescript-slides": "^1.4.5",
"nativescript-swiss-army-knife": "0.1.1",
"nativescript-telerik-ui": "^1.1.1",
"tns-core-modules": "2.0.1"
}
Please tell us how to recreate the issue in as much detail as possible.
Comment out clearHistory on a page transition and you'll see the animation. I'm specifically testing the fade animation on a Droid Turbo 2 running Android 6.0
If I leave the clearHistory="true" the transition never animates and the next page just appears after what seems like the duration.
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?
Please provide the following version numbers that your issue occurs with:
tns --versionto fetch it)node_modules/tns-core-modules/package.jsonfile in your project)"tns-android"and"tns-ios"properties in thepackage.jsonfile of your project)package.jsonfile of yourproject)
"nativescript-cardview": "^1.1.7",
"nativescript-floatingactionbutton": "^2.2.2",
"nativescript-parallax": "^1.1.0",
"nativescript-platform-css": "^1.0.0",
"nativescript-pulltorefresh": "^1.1.4",
"nativescript-slides": "^1.4.5",
"nativescript-swiss-army-knife": "0.1.1",
"nativescript-telerik-ui": "^1.1.1",
"tns-core-modules": "2.0.1"
}
Please tell us how to recreate the issue in as much detail as possible.
Comment out
clearHistoryon a page transition and you'll see the animation. I'm specifically testing the fade animation on a Droid Turbo 2 running Android 6.0If I leave the
clearHistory="true"the transition never animates and the next page just appears after what seems like the duration.