You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
fix(gesture): tapping a submit button fires two submit events on mobile (#11729)
this causes the dynamic tabs demo w/ pagination to often add two tabs
for each 'Add Tab' button click on iOS and Android
when click hijacking is enabled (default)
- isKeyClick check did not work on iOS since clientX/Y are set
- add an iOS-specific isKeyClick check
- revert workaround from PR #10189
use recommended `new MouseEvent()` and `new CustomEvent()`
- fallback to deprecated methods `initMouseEvent()` and `initCustomEvent()`
Fixes#11725
Copy file name to clipboardExpand all lines: src/components/tabs/demoDynamicTabs/script.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
functionAppCtrl($scope,$log){
8
8
vartabs=[
9
-
{title: 'Zero (AKA 0, Cero, One - One, -Nineteen + 19, and so forth and so on and continuing into what seems like infinity.)',content: 'Woah...that is a really long title!'},
9
+
{title: 'Zero (AKA 0, Cero, One - One, -Nineteen + 19, and so forth and so on and continuing into what seems like infinity)',content: 'Whoa...that is a really long title!'},
10
10
{title: 'One',content: "Tabs will become paginated if there isn't enough room for them."},
11
11
{title: 'Two',content: "You can swipe left and right on a mobile device to change tabs."},
12
12
{title: 'Three',content: "You can bind the selected tab via the selected attribute on the md-tabs element."},
0 commit comments