Searchbar makes header higher

I’m using a searchbar in a header inside a navbar in this way:


      <ion-searchbar [placeholder]="placeholder" (search)="search($event)" (ionInput)="searchOnInput($event)"></ion-searchbar>


And I'm getting an higher header. Inspecting with chrome it seems that some space is not used.
How I can obtain a standard-height header (if possible) like the one shown on the left side of the following image?