Hello!
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:
HTML
<ion-searchbar #searchbar class="searchbar" [(ngModel)]="search" inputmode="text" placeholder="Search..." (click)="searchBarFocus()">
</ion-searchbar>
TS
searchBarFocus() {
setTimeout(() => {
this.searchbar.setFocus();
}, 100);
}
Any idea? On a browser it works great, but not on Windows (built with Cordova).
1 post - 1 participant