Nativescript: Page navigation not working w/ flipLeft & flipRight transitions (Android)

Created on 14 Nov 2019  路  2Comments  路  Source: NativeScript/NativeScript

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.2
  • Cross-platform modules: 6.2
  • Android Runtime: 6.2
  • iOS Runtime:
  • Plugin(s):

Describe the bug
The following page navigation is not working.

It works once...you can see I'm toggling the flip - but second and subsequently - not working.

If I comment out the transition - then the navigation takes place.

       let page_def =
        {
            moduleName: "test-page",
            animated: true,
            clearHistory: true,
            transition:
            {
                name: bSwitch2List ? "flipRight" : "flipLeft",
                duration: 350,
                curve: "easeOut"
            }
        };

        frameModule.Frame.topmost().navigate( page_def );
bug done android

Most helpful comment

@erjdriver confirming the issue as a bug. It is happening only when using flipLeft and flipRight as transition type. Steps to reproduce - use this Playground demo to navigate forward and backward.

As a workaround, you could use flip as your transition type. Here is a Playground demo demonstrating the workaround

All 2 comments

@erjdriver confirming the issue as a bug. It is happening only when using flipLeft and flipRight as transition type. Steps to reproduce - use this Playground demo to navigate forward and backward.

As a workaround, you could use flip as your transition type. Here is a Playground demo demonstrating the workaround

The issue is resolved via this PR

Was this page helpful?
0 / 5 - 0 ratings