We have an “expand” action that, once clicked, adds a bunch of new elements to the DOM. This is a bit slow on mobile devices, and is resulting in the Ionic Tap system triggering 2 ng-click events.
I have uncommented line 2844 in ionic.js and here’s the console.log output:
tapClick touchend A (66,270) tapClick mouseup A (66,270)
So what happens it that our expand action immediately collapses again and removes all the recently-added elements from the DOM.
If I add the data-tap-disabled=“true” attribute to the HTML tag, then the behavior disappears (but the 300ms delay is reintroduced).