perf(ripple): improve ripple perf

This commit is contained in:
Adam Bradley
2015-11-09 13:55:25 -06:00
parent 8d1370a706
commit e0f18a5de2
4 changed files with 71 additions and 37 deletions

View File

@@ -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,