-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ionView): do not set navbar title if no title attr set
Fixes #915 BREAKING CHANGE: Before, if you did not have a `title` attribute set on your ion-view, it would transition into that view and erase the navbar's current title. Now, if your ion-view does not have a `title` attribute set, the new view will be transitioned in, but there will be no title change. If you wish to have a blank title on your new view, you must now explicitly set your `ion-view`'s title attribute to an empty string. To migrate your code, change from this: ```html <ion-view></ion-view> ``` To this: ```html <ion-view title=""></ion-view> ```
- Loading branch information
Showing
3 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters