Android hardware back button and the native date picker


So i’m having an issue with the android hardware back button. I have a simple input field for selecting a date.

<label class="item item-input">
   <span class="input-label">Date*</span>
   <input type="date" name="docDate" id="docDate" ng-model="docDate">

For the most part it works just fine… when I tap the field on an Android device the native date picker pops-up. However if I hit the hardware back button instead of ‘Cancel’ in the date picker, the window closes and I am no longer able to select any other input fields.

How might I go about fixing this one?