Skip to content
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

Why navCtrl.push(page) does not change URL if page is View? #14343

Closed
ildar-icoosoft opened this issue Apr 17, 2018 · 2 comments
Closed

Why navCtrl.push(page) does not change URL if page is View? #14343

ildar-icoosoft opened this issue Apr 17, 2018 · 2 comments
Labels
ionitron: v3 moves the issue to the ionic-v3 repository

Comments

@ildar-icoosoft
Copy link

I need my application to change URL when some page is opened. There is a strange behavior of navController push method. If I pass page as string then URL is changed, but If I pass page as View Object then URL is not changed:

this.navCtrl.push('Page1') // URL: http://localhost/#/page1
this.navCtrl.push(Page1) // URL: http://localhost/

Why does it happen?

@ionitron-bot ionitron-bot bot added the triage label Apr 17, 2018
@Ionitron Ionitron added the ionitron: v3 moves the issue to the ionic-v3 repository label Nov 29, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!

Thank you for using Ionic!

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

Issue moved to: ionic-team/ionic-v3#413

@ionitron-bot ionitron-bot bot closed this as completed Nov 29, 2018
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 29, 2018
@ionitron-bot ionitron-bot bot removed the triage label Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ionitron: v3 moves the issue to the ionic-v3 repository
Projects
None yet
Development

No branches or pull requests

2 participants