This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was 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
Description
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?