bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Typeahead not closing the popup when using ng-touch ng-click on mobile browser

Open nishesj opened this issue 11 years ago • 6 comments

angular & angular touch version 1.4.3 Android 5.1 chrome 43 http://embed.plnkr.co/zX9ojMXRGBweID9RglZY/preview

nishesj avatar Jul 30 '15 12:07 nishesj

I am not able to reproduce this using Chrome's emulation on that Plunker. Is there any other reliable way to reproduce this?

wesleycho avatar Jul 30 '15 13:07 wesleycho

I can reproduce this using Chrome's emulation as well. when the matches are shown eg. if u type A on the input field and if you click the link above the input labeled clicked while the popup is open, the popup should be hidden but remains open.

nishesj avatar Jul 30 '15 13:07 nishesj

I'm seeing issues being reported (outside of this library) in regards to Android 5 in chrome where touch events are not firing click events.

RobJacobs avatar Jul 30 '15 14:07 RobJacobs

Ahh, so this is only reproduceable if you click on a link - it sounds like a potential Android bug, and I am not sure there is much we can do about this.

wesleycho avatar Jul 30 '15 14:07 wesleycho

Seems like related to this https://github.com/angular/angular.js/issues/9872 but not sure ..

nishesj avatar Jul 30 '15 14:07 nishesj

I think in light of that Angular issue, we should not hack around that.

I believe that any fix should be made in ngTouch - if you read the issue and the referenced SO link, it provides a good suggestion for how it can be fixed in Angular.

wesleycho avatar Jul 30 '15 14:07 wesleycho