Jump to content
Search Community

malua

Members
  • Posts

    1
  • Joined

  • Last visited

malua's Achievements

0

Reputation

  1. hello, we are using tweenmax for a simple svg animation in an cordova app. the animation is working fine on ios but not on android. on android the "transform" isnt added to the "style" attribute, but as an own attribute. and i think the reason for that is this code line: var force = _ieVers || (/Android/i.test(_agent) && !window.chrome) the 'force' variable, forces the use of transform as an attribute. And on android, (/Android/i.test(_agent) always returns true. _agent being the user agent of the browser. there is comment before the code line: //IE and Android stock don't support CSS transforms on SVG elements, so we must write them to the "transform" attribute. We populate this variable in the _parseTransform() method, and only if/when we come across an SVG element this is exactly what is happening. and the problem is the android system webview doesn't identify as a chrome browser with window.chrome. is this something that could be changed? or do you have any other ideas? help is much appreciated!
×
×
  • Create New...