Skip to content
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
@ionitron-bot

Description

@ionitron-bot

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions