2014-03-31 20 views
2

我正在使用應用程序移動框架,並認爲我發現了一個關於滾動條的錯誤。如果側面板足夠長以在初始化時滾動,則可以在旋轉後滾動。但是,如果應用程序以縱向模式啓動(不需要滾動),然後旋轉到橫向,則不存在滾動條。以下是相關的代碼。現在我有一堆「你好」,所以滾動條總是在那裏。如何讓它在沒有它們的情況下滾動?英特爾XDK側面板只有在足夠長的初始化時纔會滾動

<div class="inner-element uib_w_21 uib_sidebar rightbar bar-bg" data-uib="layout/right_sidebar" data-ver="0" data-anim="{'style':'overlap', 'v':200, 'side':'right'}" id="rightPanel"> 
    <div class="sidebar-content"> 

     <div class="grid grid-pad urow uib_row_12 row-height-12" data-uib="layout/row" data-ver="0"> 
      <div class="col uib_col_13 col-0_12-12" data-uib="layout/col" data-ver="0"> 
       <div class="widget-container content-area vertical-col"> 

        <div class="widget uib_w_22 d-margins" data-uib="media/text" data-ver="0"> 
         <div class="widget-container left-receptacle"></div> 
         <div class="widget-container right-receptacle"></div> 
         <div> 
          <p>Settings:</p> 
         </div> 
        </div><span class="uib_shim"></span> 
       </div> 
      </div> 
      <span class="uib_shim"></span> 
     </div> 

     <div class="grid grid-pad urow uib_row_13 row-height-13" data-uib="layout/row" data-ver="0"> 
      <div class="col uib_col_14 col-0_12-12" data-uib="layout/col" data-ver="0"> 
       <div class="widget-container content-area vertical-col"> 

        <div class="widget uib_w_23 d-margins" data-uib="media/text" data-ver="0"> 
         <div class="widget-container left-receptacle"></div> 
         <div class="widget-container right-receptacle"></div> 
         <div id=rightpanel_container style="overflow-y:scroll"> 
          <p> hello there! hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!</p> 
          <div> 
           <div class="widget-container content-area vertical-col"> 
            <label for="startdate">Start Date:</label> 
            <input type="date" name="startdate" id="startdate" value="2014-02-01" class="jq-ui-forms"> 
            <span class="uib_shim"></span> 
           </div> 
           <div class="widget-container content-area vertical-col"> 
            <label for="enddate">End Date:</label> 
            <input type="date" name="enddate" id="enddate" value="2014-03-01" class="jq-ui-forms"> 
            <span class="uib_shim"></span> 
           </div> 
          </div> 
          <div class="widget-container content-area vertical-col"> 
           <div id="fieldOptions"> 
            Field Options Go here 
           </div> 
          </div> 
          <div class="widget-container content-area vertical-col"> 
           <a class="button widget uib_w_26 d-margins icon error" data-uib="app_framework/button" data-ver="0" id="removeFavorite-button">Remove Stock from Favorites</a> 
           <a class="button widget uib_w_27 d-margins icon add" data-uib="app_framework/button" data-ver="0" id="addFavorite-button">Add Stock to Favorites</a> 
           <a class="button widget uib_w_18 d-margins icon check" data-uib="app_framework/button" data-ver="0" id="settings-done-button">Done</a> 
          </div> 
         </div> 
        </div><span class="uib_shim"></span> 
       </div> 
      </div> 
      <span class="uib_shim"></span> 
     </div> 
    </div> 
</div> 

回答

0

看起來這個限制僅限於App Framework設計。它似乎工作正常,如果其中一個其他UI框架被選中。

我已經提交了一個錯誤,我們將看到關於修復它。