Skip to content

Page navigation not working w/ flipLeft & flipRight transitions (Android) #8100

Closed

Description

@erjdriver

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 );

Activity

  1. NickIliev commented on Nov 15, 2019

    @NickIliev
    Contributor

    @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

  2. changed the title [-]Page navigation not working (Android)[/-] [+]Page navigation not working w/ flipLeft & flipRight transitions (Android)[/+] on Nov 26, 2019
  3. NickIliev commented on Feb 4, 2020

    @NickIliev
    Contributor

    The issue is resolved via this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions