zachfitz / Ionic-Material

Material Design style and animations for Ionic
http://ionicmaterial.com
Other
2.9k stars 904 forks source link

strange button & header shadows if running in crosswalk #144

Open didlich opened 9 years ago

didlich commented 9 years ago

Hi, I run your demo with the crosswalk plugin and see some strange shadows around the FAB button and the header:

ionic-material-strange-shadow

This is how I installed the demo on my Android Phone with OS 4.4:

npm install && bower install
{
  "name": "sample",
  "private": "true",
  "devDependencies": {
    "ionic": "driftyco/ionic-bower#1.0.0-rc.2",
    "ionic-material": "0.4.2",
    "ion-md-input": "0.0.2"
  },
  "resolutions": {
    "angular-animate": "1.3.13",
    "angular-sanitize": "1.3.13",
    "angular-ui-router": "0.2.13",
    "angular": "1.3.13",
    "ionic": "~1.0.0"
  }
}
ionic platform add android
ionic plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="org.xwalk:xwalk_core_library_beta:14+"
ionic run android
talamaska commented 9 years ago

+1 I noticed that too.

didlich commented 9 years ago

tested the same APK on Samsung S3 mini Android 4.1.2 and it works perfect, then used the default web-view from Android 4.4 and it works also perfect so, seems to be a problem with crosswalk on Android 4.4 (CyanogenMod)

talamaska commented 8 years ago

I see the problem on every samsung, but not on Huaway, independent from the android version, after all it's crosswalk and should be the same web-view everywhere.

liuwenzhuang commented 8 years ago

Why I run the demo on my android 5.1, and it was not smooth, the animation perform not very well.