List item ng-click event not working on Android 4.0


#1

I have used List item in my app. At home page its working but on result page its not working on mobile (Android 4.0.1)

This is working

<list>
  <item ng-repeat="quiz in quizes" type="item-text-wrap" href="#/quiz/{{quiz.id}}">
    <h3>{{quiz.title}}</h3>
   </item>
  </item>
</list>

This is not working

    <list>
      <item  ng-repeat="atmsq in attempt.seq"  ng-click="backtoQuiz($index)">
        <h3>{{$index+ 1}} - {{(attempt.attempt[atmsq].attempt=="") && 'Not Attempted' || 'Attempted'}} {{(attempt.attempt[atmsq].qFlag==true) && '- Flagged ' || ''}}</h3>
      </item>
    </list>

Only diff. in both are that i have used href in above and ng-click on second item tag.
Note : above code is working on other i.e tablet / browser

Best Regards,
Team EddyTools
http://www.eddytools.com


List item ng-click not working
#2

Hmm it’s hard to say just from looking at the code you posted. Could you set up a Plunkr or Codepen for us to test out?

Unfortunately we also only ‘officially’ support Android 4.1+.


#3

@eddytools Would you be able to pull down the latest nightly build and give it another shot? http://code.ionicframework.com/#nightly

I made a few changes that hopefully resolves this issue. Thanks.


#4

Thanks adam, things seems working on mobile(Android 4.0) also.


#5

Yes its working now… thanks adam.