fix(ripple): disable ripple for Android 4.4 and below

Closes #648
This commit is contained in:
Adam Bradley
2015-11-25 14:00:41 -06:00
parent ff73d83138
commit 5d0349d134
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ export class Platform {
navigatorPlatform(val) {
if (arguments.length) {
this._bPlt = val;
this._bPlt = (val || '').toLowerCase();
}
return this._bPlt || '';
}

View File

@ -48,7 +48,7 @@ Platform.register({
],
settings: {
activator: function(p) {
return (p.version().major >= 5) ? 'ripple' : 'none';
return (p.version().major < 5 && p.navigatorPlatform().indexOf('linux') > -1) ? 'none' : 'ripple';
},
hoverCSS: false,
keyboardHeight: 300,