Skip to content

Bug when go back to the page with slides added dynamically #75

@terreb

Description

@terreb

A bug occurs when we go back to the page with slides added dynamically on both iOS and Android.

In order to reproduce the issue please do the following:

  • in nativescript-slides/demo/dynamic-page.ts add:
export function openPage() {
    var navigationEntry = {
        moduleName: "./views/main-page",
        animated: false
    };

    frameModule.topmost().navigate(navigationEntry);
}
  • in nativescript-slides/demo/main-page.ts add:
export function goBack() {
    frameModule.topmost().goBack()
}
  • in nativescript-slides/demo/main-page.xml add inside GridLayout:
<Button text="Go Back" tap="goBack" row="1" />
  • in nativescript-slides/demo/dynamic-page.xml add inside GridLayout:
<Button text="open sub page" tap="openPage" row="1" />
  • Run the app -> Dynamic slides -> open sub page -> go back

Please let me know if you need any further info on that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions