# Removing focus from an input field on display of popup

**URL:** <https://forum.ionicframework.com/t/removing-focus-from-an-input-field-on-display-of-popup/72649>\
**Category:** ionic-v1\
**Created:** [December 8, 2016, 12:42pm UTC](https://forum.ionicframework.com/t/removing-focus-from-an-input-field-on-display-of-popup/72649 "2016-12-08T12:42:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NaseemAkhtar](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@NaseemAkhtar](https://forum.ionicframework.com/u/NaseemAkhtar)\
**Post date:** [December 8, 2016, 12:42pm UTC](https://forum.ionicframework.com/t/removing-focus-from-an-input-field-on-display-of-popup/72649/1 "2016-12-08T12:42:24Z")

</div>

Hello,

I have an input field in a page and just below that I have a multiple check boxes, tapping on any one of the check box opens a popup.  
When I tap on the input field ionic keyboard appears and then I enter some data.  
After that, without closing the keyboard I just scroll down and tap on any check box, which will open the popup.

The popup appears, but the focus remains on the input field which is in the background.

Note : I don’t have any input field in the popup.

If someone could suggest anything.

---

<div class="post-metadata">

**Author:** ![NaseemAkhtar](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@NaseemAkhtar](https://forum.ionicframework.com/u/NaseemAkhtar)\
**Post date:** [January 3, 2017, 6:51am UTC](https://forum.ionicframework.com/t/removing-focus-from-an-input-field-on-display-of-popup/72649/2 "2017-01-03T06:51:19Z")

</div>

Got the solution, used jquery to solve the issue.

$(’:focus’).blur();
