Skip to content

Default page transtion in app.ts is not working for the initial page & breaks navigation #4895

@NickIliev

Description

@NickIliev

Setting default page transition in app.js breaks the navigation

Steps to reproduce (or use this app);

  • create a new application tns craete initialTransition --tsc
  • in app.ts set the default page transition with
frameModule.Frame.defaultTransition = { name: "slide" };
  • load the application - the initial page is without transition. It will also break the navigation from the initial to inner pages. (reported via t.1125152)

Note: reproducible only on Android API23+

Workaround:
Set the default page transition in the initial page or elsewhere
For example:
main-page.ts

export function onNavigatedTo() {
    frameModule.Frame.defaultTransition = { name: "slide" };
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions