Searchbar makes header higher

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

<ion-header>

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

</ion-header>```

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?

![24|690x93](upload://rtMQEFwdQnCQ14Bnt5A25yPrbXw.png)