title: iOS keypad not getting hidden after upgrade to iOS 10 in angular js
body: <p>I have recently updated device to iOS 10 and facing issues with hiding iOS keypad when i switch from one view to another.It was working well with iOS 9.3.</p>
  
  <p>Programmatically what i have done is, i was intercepting some element and auto focusing one input box when i navigate to second view. And when i move back to first view it was getting hidden but now with 10.0 it doesn't hide it automatically.</p>
  
  <p>Because of privacy concern i am not able to post my code here but this is an angular code where i have written a directive which intercepts clicks on input box in the second view and auto focuses the same which in turn makes keypad popping up.</p>
  
  <p>Now my requirement is to hide this keypad when i move back to first view.</p>
  
  <p>As iOS 10 is very recently released any help or suggestion on this will be greatly appreciated.</p>
  
  <p>N.B: Everything works well with iOS 8 and 9.</p>
  
  <p>Here is what i have tried:</p>
  
  <p>Tried hiding active DOM element.</p>
  
  <pre><code>document.activeElement.blur();
  </code></pre>
  
  <p>Also tried calling blur using target property of $element by passing that to my link function in the directive.</p>