etodanik / ion-google-place

Ionic directive for a location dropdown that utilizes google maps
MIT License
251 stars 201 forks source link

Scrolling open ion-google-place #92

Open romanmuska opened 8 years ago

romanmuska commented 8 years ago

Hi, my ion-google-place input is located in many inputs and always when i am scrolling it opens ion-google-place and throw this warning "Ignored attempt to cancel a touchend event with cancelable=false, for example because scrolling is in progress and cannot be interrupted." Can you help me?

romanmuska commented 8 years ago

it appears in these lines

`var onClick = function (e) { e.preventDefault(); e.stopPropagation();

                        $ionicBackdrop.retain();
                        unbindBackButtonAction = $ionicPlatform.registerBackButtonAction(closeOnBackButton, 250);

                        el.element.css('display', 'block');
                        searchInputElement[0].focus();
                        setTimeout(function () {
                            searchInputElement[0].focus();
                        }, 0);
                    };`