I'm using ngMap with Ionic 1.2.x and I've put together custom-control that contains a places autocomplete directive that in a plain HTML test works, but when I put it inside the ionic application and open it in a modal the on-place-changed event never triggers when clicking on the places autocomplete prediction. When I mouse over the list of place predictions the mouse cursor icon doesn't change seemingly indicating the elements are not available for clicking.
UPDATE
I found a reference to this issue on GitHub, but the solutions don't appear to work when in a modal according to the last couple posts where data-tap-disabled="true"
is used on pac-container
.
I've attached an abridge CodePen of the issue. It's really easy to replicate.
DIRECTIVE
<ng-map id="gmap">
// ...
<custom-control class="gmap-place-autocomplete-control-container"
position="TOP_CENTER">
<input placeholder="Search for places"
types="{{ createEventCtrl.types }}"
ng-model="createEventCtrl.address"
on-place-changed="createEventCtrl.placeChanged()"
places-auto-complete>
</custom-control>
// ...
</ng-map>