mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(touchaction): remove 300ms delay via touch-action
This commit is contained in:
10
ionic/components/app/normalize.scss
vendored
10
ionic/components/app/normalize.scss
vendored
@@ -122,6 +122,16 @@ input[type="submit"] {
|
||||
cursor: pointer; // 3
|
||||
}
|
||||
|
||||
// remove 300ms delay
|
||||
a,
|
||||
button,
|
||||
[tappable],
|
||||
input,
|
||||
textarea {
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
button {
|
||||
border: 0;
|
||||
line-height: 1;
|
||||
|
||||
@@ -66,7 +66,9 @@ body {
|
||||
padding: 0;
|
||||
word-wrap: break-word;
|
||||
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
|
||||
-webkit-user-drag: none;
|
||||
-ms-content-zooming: none;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user