Ionic and jQuery problem in Collection-Repeat


#1

Hi Everyone

I’m working on an ionic project (beta 13) where I use jQuery alongside with Angular. I use jQuery only in the custom directives to modify DOM by selector.

By adding collection-repeat element I saw that scrolling animation doesn’t work. Element was added according to the manual (http://ionicframework.com/docs/api/directive/collectionRepeat/).

After some investigation I found that the problem is with jQuery (I’ve checked 1.11.1, 2.1.1, but no advance). In the starter ionic project, collection-repeat works fine, but when I add jQuery script before ionic.bundle the problem appears.

Here are some attachments showing scrolling behavior before and after jQuery include. In addition to user scroll behavior problems, I found that $ionicScrollDelegate.scrollTop(true) (also scrollBottom with animation) doesn’t work.

Is anybody familiar with this problem and knows how to solve it?