When i close $ionicModal , Keyboard auto open


#1

when i close $ionicModal , Keyboard auto open , but i don’t open Keyboard .

<div class="modal'>
<div class="bar bar-header item-input-inset no-padding">
<label class="item-input-wrapper" style="margin-left:1%;">
<i class="icon ion-ios-search placeholder-icon"></i>
<input type="search" placeholder="search..." ng-model="serch_s">
</label>
<button class="button button-clear" style="margin-left:0px;" ng-click="closeModal()">
Cancel
</button>
</div>
</div>


#2

maybe there is an inputfield behind your close button on the view behind


#3

I found the problem caused by my animation,
I use ionic-animated-modal to solve the problems.


#4

It solved my struggling problem. Thank you!