@@ -2413,6 +2413,10 @@ ionic.views.Scroll = ionic.views.View.inherit({
24132413 this . options [ key ] = options [ key ] ;
24142414 }
24152415
2416+ this . hintResize = ionic . debounce ( function ( ) {
2417+ self . resize ( ) ;
2418+ } , 1000 , true ) ;
2419+
24162420 this . triggerScrollEvent = ionic . throttle ( function ( ) {
24172421 ionic . trigger ( 'scroll' , {
24182422 scrollTop : self . __scrollTop ,
@@ -2673,8 +2677,8 @@ ionic.views.Scroll = ionic.views.View.inherit({
26732677 // Update Scroller dimensions for changed content
26742678 // Add padding to bottom of content
26752679 this . setDimensions (
2676- Math . min ( this . __container . clientWidth , this . __container . parentElement . clientWidth ) ,
2677- Math . min ( this . __container . clientHeight , this . __container . parentElement . clientHeight ) ,
2680+ this . __container . clientWidth ,
2681+ this . __container . clientHeight ,
26782682 this . __content . offsetWidth ,
26792683 this . __content . offsetHeight + 20 ) ;
26802684 } ,
@@ -3106,6 +3110,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
31063110 * Touch start handler for scrolling support
31073111 */
31083112 doTouchStart : function ( touches , timeStamp ) {
3113+ this . hintResize ( ) ;
31093114
31103115 // Array-like check is enough here
31113116 if ( touches . length == null ) {
0 commit comments