I have a list, and all the item have a ngClick function to open a popup.
then I open the popup , If the pop-body is too height so I need to scroll, When I scroll the popbody,
the popbody will flashing.
I run the app in android version 4.12
Maybe Because I add max-height for pop-body.
but if I don’t add max-height. Here is another big problem when a have a long article.
var template = "<p>While it's possible for buttons to use a child <i> to set the icon, they can also set their icon just by setting the buttons own class. Please take a look at button icon docs for more info. Note: Ionic is certainly not restricted to using only the Ionicons icon pack, so please feel free to use any icons you wish.</p>" +
"<p>Ionic is an open source framework released under a permissive MIT license. This means you can use Ionic in your own personal or commercial projects for free. MIT is the same license used by such popular projects as jQuery and Ruby on Rails.</p>" +
"<p>The website content here (found in the ionic-site repo) is under the Apache 2 license.</p>" +
"<p>We'd love to have you help improve Ionic, whether it's improving the framework's code, or touching up the documentation. For more information on Contributing, check out our Contributor Guide.</p>";
var pop = $ionicPopup.confirm({
title: 'Consume Ice Cream',
template: template
});
pop.then(function(res) {
if (res) {
console.log('You are sure');
} else {
console.log('You are not sure');
}
})
}
What went wrong:
A problem occurred evaluating root project ‘android’.
No installed build tools found. Please install the Android build tools version 19.1.0 or higher.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.52 secs
/Users/raven/desktop/MicroSims-mobile/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /Users/raven/desktop/MicroSims-mobile/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/raven/desktop/MicroSims-mobile/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: /Users/raven/desktop/MicroSims-mobile/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project
What went wrong:
A problem occurred evaluating root project ‘android’.
No installed build tools found. Please install the Android build tools version 19.1.0 or higher.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.352 secs
/Users/raven/desktop/MicroSims-mobile/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /Users/raven/desktop/MicroSims-mobile/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/raven/desktop/MicroSims-mobile/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: /Users/raven/desktop/MicroSims-mobile/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project
ionic info
OS: Mac OS X Yosemite
Node Version: v0.12.0
Cordova CLI: 4.2.0
Ionic CLI Version: 1.3.10
Xcode version: Xcode 6.1.1 Build version 6A2008a
ios-sim version: 3.1.1