File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 187187 this . scrollEl = opts . scrollEl ;
188188 this . scrollView = opts . scrollView ;
189189 // Get the True Top of the list el http://www.quirksmode.org/js/findpos.html
190- this . listEl . trueTop = 0 ;
190+ this . listElTrueTop = 0 ;
191191 if ( this . listEl . offsetParent ) {
192192 var obj = this . listEl ;
193193 do {
194- this . listEl . trueTop += obj . offsetTop ;
194+ this . listElTrueTop += obj . offsetTop ;
195195 obj = obj . offsetParent ;
196196 } while ( obj ) ;
197197 }
203203 var y = e . gesture . center . pageY +
204204 this . scrollView . getValues ( ) . top -
205205 ( this . _currentDrag . elementHeight / 2 ) -
206- this . listEl . trueTop ;
206+ this . listElTrueTop ;
207207 this . el . style [ ionic . CSS . TRANSFORM ] = 'translate3d(0, ' + y + 'px, 0)' ;
208208 } ;
209209
239239
240240 var scrollY = 0 ;
241241 var pageY = e . gesture . center . pageY ;
242- var offset = this . listEl . trueTop ;
242+ var offset = this . listElTrueTop ;
243243
244244 //If we have a scrollView, check scroll boundaries for dragged element and scroll if necessary
245245 if ( this . scrollView ) {
You can’t perform that action at this time.
0 commit comments