Searchbar iOS bug

Using an iPhone 5s.

The bug arises on iOS when using tabs.

If I have a search bar inside an ion-content like so…

`<ion-searchbar [(ngModel)]="myInput" (input)="onSearch($event)" (cancel)="onSearchCancel($event)"></ion-searchbar>`

then when the the search’s cancel button is pressed, there is a slight lag as the keyboard closes and the tabs take about half a second to move back to the bottom of the screen. (still usable but not great).


If I have this markup in my ion-content

<ion-toolbar primary>
  <ion-searchbar [(ngModel)]="myInput" (input)="onSearch($event)" (cancel)="onSearchCancel($event)">

then when the search’s cancel button is pressed, the screen flickers and the whole search bar disappears from the view. If appears again if I open the side menu or click where the search bar should be.

1 Like

When i install ionic and cordova in ubuntu 14.04 or checking my ionic setup proper or not then i get ios-deploy version: Not installed ,ios-sim version: Not installed and Xcode version: Not installed.
Please help me out this problem.

$ sudo ionic info

Your system information:

Cordova CLI: 4.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.13
Node Version: v7.4.0
Xcode version: Not installed

Unfortunately you can only build and run iOS apps from a Mac with Xcode installed. Blame Apple and their restrictions!