Ionic-framework: iOS 11 Header Style for Ionic 4

Created on 26 Dec 2018  路  3Comments  路  Source: ionic-team/ionic-framework

Feature Request

Ionic version:


[x] 4.x

Describe the Feature Request

No IMG

Image by Mohamed Kerroudj

Describe Preferred Solution

A property for iOS Toolbar Tag like <ion-toolbar appearance="modern"> or something similar.

Describe Alternatives

Currently I'm using <ion-card-title> and <ion-card-subtitle> to let the header look like in iOS 11:

<ion-header>
  <ion-toolbar color="light">
    <ion-card-header>
      <ion-card-title>Settings</ion-card-title>
    </ion-card-header>
  </ion-toolbar>
  <ion-toolbar color="light">
    <ion-searchbar [(ngModel)]="searchFilter.name"
      placeholder="Search Coins..." animated="true" showCancelButton></ion-searchbar>
  </ion-toolbar>
</ion-header>

_But as you know there isn't this nice animation you can see on the GIF!_

Additional Context

   ionic (Ionic CLI)             : 4.6.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-rc.0
   @angular-devkit/build-angular : 0.10.7
   @angular-devkit/schematics    : 7.1.4
   @angular/cli                  : 7.1.4
   @ionic/angular-toolkit        : 1.2.2
core feature request

Most helpful comment

This feature has been added to the framework. It will be available in the next minor release of Ionic. You can use the following dev build to test it out:

If using Ionic Angular: npm i @ionic/[email protected]
If using Ionic Core: npm i @ionic/[email protected]

Thanks!

All 3 comments

Thanks for the issue! This is on our list of things to do.

This feature has been added to the framework. It will be available in the next minor release of Ionic. You can use the following dev build to test it out:

If using Ionic Angular: npm i @ionic/[email protected]
If using Ionic Core: npm i @ionic/[email protected]

Thanks!

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandyscarney picture brandyscarney  路  3Comments

RobFerguson picture RobFerguson  路  3Comments

giammaleoni picture giammaleoni  路  3Comments

alexbainbridge picture alexbainbridge  路  3Comments

daveshirman picture daveshirman  路  3Comments