We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 118ba8a + a538035 commit 38a9157Copy full SHA for 38a9157
js/utils/tap.js
@@ -236,6 +236,9 @@ ionic.tap = {
236
},
237
238
requiresNativeClick: function(ele) {
239
+ if (ionic.Platform.isWindowsPhone() && (ele.tagName == 'A' || ele.tagName == 'BUTTON' || ele.hasAttribute('ng-click') || (ele.tagName == 'INPUT' && (ele.type == 'button' || ele.type == 'submit')))) {
240
+ return true; //Windows Phone edge case, prevent ng-click (and similar) events from firing twice on this platform
241
+ }
242
if (!ele || ele.disabled || (/^(file|range)$/i).test(ele.type) || (/^(object|video)$/i).test(ele.tagName) || ionic.tap.isLabelContainingFileInput(ele)) {
243
return true;
244
}
0 commit comments