Thanks for your attention.
I have one problem due to developing my app using nativescript.
I used searchbar in one page.
<SearchBar #sb hint=“search” [text]=“SearchPharase” (submit)=“onSubmit(sb.text)” class=“searchbox” style=“horizontal-align:center”>
Next, I tried to remove focus from the searchbar.
@ViewChild(“sb”) SBref: ElementRef;
But I didn’t get my required effective.
Unfortunately, I don’t know about the reason and I decided to get your help here.
Please help me.
Thanks and regards.