Can't write on a ion-searchbar when a modal is opened


I’m experiencing problems with my Windows 10 app on Ionic 4 + Angular. Whenever I open a modal, I can’t click on my ion-searchbar (which is on the header of the parent window). I have removed the modal backdrop already and I can click other buttons, but I can’t write on the searchbar, even calling the function “setFocus()”.

Searchbar code:


<ion-searchbar #searchbar class="searchbar" [(ngModel)]="search" inputmode="text" placeholder="Search..." (click)="searchBarFocus()">


searchBarFocus() {
  setTimeout(() => {
  }, 100);

Any idea? On a browser it works great, but not on Windows (built with Cordova).