[ 
https://issues.apache.org/jira/browse/CB-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417773#comment-13417773
 ] 

Greg commented on CB-1081:
--------------------------

        <div id="top">
           <header>
             .. header stuff    
          </header>
          <div id="tab_bar">
                        <nav id="tab_bar_nav">
                                ... stuff
                        </nav>
                </div>
        </div>


        <div id="container">
                <div id="main-content" >

                ... content stuff

               </div>
        </div>

CSS:


#container {
  min-width: 320px;
  max-width: 540px;
  width: 100%;
  margin: 94px auto 12px;
  position: relative;
}

#top{
  position: fixed;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

Thanks,
Greg

                
> Scrolling in Android 4.1.x with PhoneGap 2.0rc1 is Poor
> -------------------------------------------------------
>
>                 Key: CB-1081
>                 URL: https://issues.apache.org/jira/browse/CB-1081
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Android 4.1.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> With Android 4.0.x scrolling is fine - but with 4.1.x scrolling in the 
> webview is choppy and less than ideal. It doesn't have affect with 4.0.x on 
> 2.0rc1. 
> The webpage is setup with a position fixed element at the top and scrollable 
> content below. This is supported with 4.1.x

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to