File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 209
209
self . resize ( ) ;
210
210
return ;
211
211
}
212
+
213
+ var oldOverflowX = self . el . style . overflowX ;
214
+ var oldOverflowY = self . el . style . overflowY ;
215
+
216
+ self . el . style . overflowY = 'hidden' ;
217
+ self . el . style . overflowX = 'hidden' ;
218
+
212
219
animateScroll ( top , left ) ;
213
220
214
221
function animateScroll ( Y , X ) {
220
227
fromX = self . el . scrollLeft ;
221
228
222
229
if ( fromY === Y && fromX === X ) {
230
+ self . el . style . overflowX = oldOverflowX ;
231
+ self . el . style . overflowY = oldOverflowY ;
223
232
self . resize ( ) ;
224
233
return ; /* Prevent scrolling to the Y point if already there */
225
234
}
250
259
} else {
251
260
// done
252
261
ionic . tap . removeClonedInputs ( self . __container , self ) ;
262
+ self . el . style . overflowX = oldOverflowX ;
263
+ self . el . style . overflowY = oldOverflowY ;
253
264
self . resize ( ) ;
254
265
}
255
266
}
You can’t perform that action at this time.
0 commit comments