Jump to content
GreenSock

ylowfat

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

1,113 profile views

ylowfat's Achievements

0

Reputation

  1. Hello guys and thanks for the support! @jonathan: The stock browser does not come with Nexus 7. It has been replaced with Chrome for Android. @jack: I have removed the kinetic part with no difference. In some other parts of the app where Draggable is not present 3d transformations (translate3d) take place but the issue is not reproduced. Since android 4.4 the Webview engine is chrome v.30. Javascript is not enabled by default but you can enable it from the webview settings. The performance of the draggable does not degrade at all. The animation is extremely smooth but the tablet get quite warm even if draggable element stays idle. Battery loses more or less 1%- 2% per minute while charging from USB with no other app running! I think the key here is the constant gpu update. Is Draggable compatible with chrome v30? The most strange thing is that using a Webview is really common place for mobile apps. I am guessing a lot of other developers are using Draggable in their apps so the problem would have been mentioned before... I will try to test directly in Chrome for Android v.30 and report here the results.. Thanks again!
  2. Hello jonathan, Thank you for your reply. This is the part of code that reproduces the problem: http://codepen.io/ylowfat/pen/nACuv This behavior happens on an android device. Nexus 7 2013 model. It does not happen when i load the page from the Android browser (Chrome v34) It happens when I load the page in a webview inside my android application like this: webView.getSettings().setJavaScriptEnabled(true); webView.getSettings().setDomStorageEnabled(true); webView.setWebChromeClient(new WebChromeClient()); webView.loadUrl("path//to/my/index.html"); Android version: 4.4.2
  3. Hello, I m using draggable (rotation) inside a WebView in an Android project. It is a 4.3 Android application with WebChromeClient (Chrome v30). Everything works great and the animation is really smooth but the application suffers a battery drain whenever Draggable is present. I enabled 'Show GPU view updates' from android developer options and observed that the view updates constantly even when I m not rotating the element and even when draggable is disabled. This behaviour does not occur when I load the page in Chrome for Android (v.34) I am testing in a Nexus 7 (2013) tablet. Any ideas about what's wrong?Is this a known issue or am I doing something wrong? Thank you
×