Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Tap on list item returning earlier list item when scrolling on ios device

$
0
0

@persyval wrote:

So I have this weirdest behaviour happing in a scroll list on an iOS device.
Say i have a list of a 100 movies like this:

  <ion-list>
    <ion-item ng-repeat="movie in featuredCtrl.movies" on-tap="featuredCtrl.goToMovie(movie, $event);">
      {{movie.Name}}
    </ion-item>
  </ion-list>

If I tap a movie I alert the movie name.
This works perfectly in android and in the browser.
On iOS however if i scroll the list and tap 'movie 20' i get an alert with 'movie 13', which is the movie on which i started my scroll.
If i wait untill the scroll is completely finished I get the correct movie.

So i created a completely new starter app to test this behaviour but I couldn't get it reproduced.
Untill I set the

$ionicConfigProvider.scrolling.jsScrolling(false);

parameter in my config value.
This should be default but apparently it makes a difference when you explicitely set the option!
Now i have this lag behaviour in my app.
Has anybody else seen this behaviour?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>