Removing focus from an input field on display of popup

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.

Got the solution, used jquery to solve the issue.

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