Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

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

Open
ionitron-bot bot opened this issue Nov 29, 2018 · 0 comments
Open

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

ionitron-bot bot opened this issue Nov 29, 2018 · 0 comments
Labels

Comments

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

Original issue by @ildar-icoosoft on 2018-04-17T11:09:41Z

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

0 participants