Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Init Angular on Page.navigatingTo #707

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

Merged
hdeshev merged 2 commits into master from hdeshev/init-navigatingto
Mar 21, 2017
Merged

Conversation

@hdeshev
Copy link
Contributor

@hdeshev hdeshev commented Mar 20, 2017

...instead of loaded. Avoid a brief flash of a blank page on slower devices.

Fixes #620

NathanWalker reacted with hooray emoji
private _registeredComponents = new Map<string, NativeScriptRenderer>();

public get rootView(): View {
if (!this._rootView) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (!this._rootView) {
this._rootView = NativeScriptPlatformRef.rootPage || topmost().currentPage;
}
instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@hdeshev hdeshev force-pushed the hdeshev/init-navigatingto branch from d02cdb7 to 993c8d0 Compare March 21, 2017 10:34
@hdeshev hdeshev merged commit 3e478e9 into master Mar 21, 2017
@hdeshev hdeshev deleted the hdeshev/init-navigatingto branch March 21, 2017 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@sis0k0 sis0k0 sis0k0 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /