Scrollview : support absolute position
authorJinhyuk Jun <jinhyuk.jun@samsung.com>
Wed, 17 Apr 2013 04:28:06 +0000 (13:28 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Thu, 18 Apr 2013 10:19:21 +0000 (19:19 +0900)
changed pagelayout because of using min-height already in pagelayout

Change-Id: Idcf880884aebeca40e60a1a9cbb8781d38a3f860

src/js/widgets/jquery.mobile.tizen.pagelayout.js

index 041dab3..69e8be3 100644 (file)
@@ -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 ) {