2014-05-03 13 views
0

我採用了棱角分明1.2.16,並與IE 11測試溢出-Y不NG-如果在Internet Explorer正與角

在我的應用程序,在settings.html,我有以下部分:

<section class='scrollable'> 
<section class='hbox stretch'> 
    <aside class="aside-md bg-white b-r" data-ng-controller='RecipientsCtrl'> 
    <div data-ng-if='inputMode' data-ng-include="'partials/recipient-form.html'"/> 
</section> 
</section> 

其中 '滾動' 類被定義爲:

.scrollable { 
    overflow-x: hidden; 
    overflow-y: auto; 
} 

和recipient.form:

<div class="panel-body"> 
    <form name='rform' ng-submit='addRecipient(rform)' novalidate='novalidate' role="form"> 
    <label>Recipient's Name</label> 
    <input type="text" class="form-control" ng-model='recipient.name' name="name" placeholder="Enter name" required='', data-mongoose-error=''/> 
    .... 
    <button type="submit" class="btn btn-sm btn-success">Add</button> 
    </form> 
</div> 

按鈕單擊將控制器放在'inputMode'中。這適用於Chrome,Safari和Firefox。在IE中,當你點擊按鈕進入'inputMode'時,似乎沒有任何反應,但是當你調整窗口大小時,你會看到表單。

下使其工作在IE:

  • 從部分刪除「滾動」類(不是一種選擇,因爲我需要的是)
  • 顯示直接的形式沒有「INPUTMODE」條件(不是一種選擇)

我試過ng-show以及無濟於事。

任何想法?

謝謝。

回答

0

更改CSS似乎已經解決了它:

.scrollable { 
    overflow-x: hidden; 
    overflow-y: auto; 
    min-height: 100%; 
}