File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 8
8
text-align : center ;
9
9
white-space : nowrap ;
10
10
vertical-align : middle ;
11
- touch-action : manipulation ;
12
11
cursor : pointer ;
13
12
user-select : none ;
14
13
border : $border-width solid transparent ;
Original file line number Diff line number Diff line change @@ -206,6 +206,28 @@ img {
206
206
cursor : pointer ;
207
207
}
208
208
209
+
210
+ // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
211
+ //
212
+ // In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
213
+ // DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
214
+ // However, they DO support removing the click delay via `touch-action: manipulation`.
215
+ // See:
216
+ // * http://caniuse.com/#feat=css-touch-action
217
+ // * http://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
218
+
219
+ a ,
220
+ area ,
221
+ button ,
222
+ [role = " button" ],
223
+ input ,
224
+ label ,
225
+ select ,
226
+ summary ,
227
+ textarea {
228
+ touch-action : manipulation ;
229
+ }
230
+
209
231
//
210
232
// Tables
211
233
//
You can’t perform that action at this time.
0 commit comments