From: Jinhyuk Jun Date: Wed, 17 Apr 2013 04:28:06 +0000 (+0900) Subject: Scrollview : support absolute position X-Git-Tag: accepted/tizen_2.1/20130425.023924^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26f1dc217caeb9cb0e5a03afa1bf0f4cdd2e6662;p=platform%2Fframework%2Fweb%2Fweb-ui-fw.git Scrollview : support absolute position changed pagelayout because of using min-height already in pagelayout Change-Id: Idcf880884aebeca40e60a1a9cbb8781d38a3f860 --- diff --git a/src/js/widgets/jquery.mobile.tizen.pagelayout.js b/src/js/widgets/jquery.mobile.tizen.pagelayout.js index 041dab3..69e8be3 100644 --- a/src/js/widgets/jquery.mobile.tizen.pagelayout.js +++ b/src/js/widgets/jquery.mobile.tizen.pagelayout.js @@ -308,6 +308,9 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) { resultMinHeight = layoutInnerHeight - $elHeader.height() - $elFooter.height(); $elContent.css( "min-height", resultMinHeight - parseFloat( $elContent.css("padding-top") ) - parseFloat( $elContent.css("padding-bottom") ) + "px" ); + if ( $.support.scrollview ) { + $elContent.children( ".ui-scrollview-view" ).css( "min-height", $elContent.css( "min-height" ) ); + } }, _updateHeaderArea : function ( thisPage ) {