mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
perf(ripple): improve ripple perf
This commit is contained in:
@@ -74,10 +74,12 @@ Platform.register({
|
||||
scrollAssist: function(p) {
|
||||
return /iphone|ipad|ipod/i.test(p.navigatorPlatform());
|
||||
},
|
||||
tapPolyfill: function(p) {
|
||||
return /iphone|ipad|ipod/i.test(p.navigatorPlatform());
|
||||
},
|
||||
keyboardHeight: 290,
|
||||
hoverCSS: false,
|
||||
swipeBackEnabled: function(p) {
|
||||
return true; // TODO: remove me! Force it to always work for iOS mode for now
|
||||
return /iphone|ipad|ipod/i.test(p.navigatorPlatform());
|
||||
},
|
||||
swipeBackThreshold: 40,
|
||||
|
||||
Reference in New Issue
Block a user