Checkbox problem on a Android


#1

I’m using the checkbox as detailed at http://ionicframework.com/docs/components/#checkbox. When using the page on Android 4.3 and selecting a checkbox, the field keeps toggling multiple times (delecting/selecting an already made selection).

Any ideas on why this could be happening ?


#2

The same thing is happening with me on Android 4.2.2. I noticed if you hold a half a sec longer the selection stays. Not sure if users will get that but they definitely will get frustrated.

I have the following scripts enabled if that helps any.

<script src="bower_components/ionic/dist/js/ionic.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-resource/angular-resource.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<script src="bower_components/angular-touch/angular-touch.min.js"></script>
<script src="bower_components/ionic/dist/js/angular/angular-animate.min.js"></script>
<script src="bower_components/ionic/dist/js/ionic-angular.min.js"></script>

#3

Rather than using the code samples in the docs, try just a <checkbox></checkbox>. Ionic doesn’t do so well with hand-coded checkboxes.

Example :

<checkbox ng-model="member.parent" >Is {{member.givenName}} A Parent?</checkbox>