Skip to content

White screen on navigate with clear history parameter #4269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mayureshjadhav opened this issue May 26, 2017 · 7 comments
Closed

White screen on navigate with clear history parameter #4269

mayureshjadhav opened this issue May 26, 2017 · 7 comments

Comments

@mayureshjadhav
Copy link

mayureshjadhav commented May 26, 2017

I am using NativeSctipt 2.5 and nativescript-angular 1.2.0 in my app.

Scenario is I am navigating from page 1 to page 2 while navigating I am clearing the history but I can see a white screen while moving from page 1 to page 2 .

What is the issue?

@NickIliev
Copy link
Contributor

@mayureshjadhav there might be multiple reasons for your issue so please post more detailed information on how to reproduce your case. As the latest version is 3.x.x we will need both the content of your package.json file and the code used to create your application - the best case would be to create a sample application that demonstrates the issue and what you have achieved so far.

@mayureshjadhav
Copy link
Author

Actually, I created project from hello word template and added two more pages and when I try to navigate from one page to another by using following code

this.routerExtensions.navigate(["about"], {
                            clearHistory: true
                        });

I can see a white screen and then it moves to about (another) page.

Actually, you will not see the difference in a small application but when your app becomes complicated you will observe this issue.

@NickIliev NickIliev added bug and removed question labels Jun 5, 2017
@NickIliev
Copy link
Contributor

NickIliev commented Jun 5, 2017

@mayureshjadhav I was able to fully reproduce this issue using Angular application and ClearHistory set to true with some PageTransition (the default one as well). The issue is not reproducible with core NativeScript project. Marking this one as a bug - keep track of this issue for further updates.

Reproducible with both iOS and Android but only in Angular based applications.

Sample application to reproduce the issue can be found here.

Steps to reproduce:

  • load the app
  • navigate with clearHistory set to true+ page transition (use some of the provided options in the app)

Actual result: the current page is replaced with a white screen and then the navigation proceeds.

Expected result : the current page to stay during the navigation transition as in this NativeScript core application

@NickIliev
Copy link
Contributor

This issue was moved to NativeScript/nativescript-angular#829

@mayureshjadhav
Copy link
Author

@NickIliev Is that issue solved? When and How I can see?

@NickIliev
Copy link
Contributor

@mayureshjadhav the issue was moved to the nativescript-angular repository (see the link in my previous oost) and is planned for fixing in 3.2 release - still for the best updates on that matter please track the linked issue

@lock
Copy link

lock bot commented Aug 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants