Angular-material md-select 将背景剪切到内容边缘?
Angular-material md-select cuts off background to edge of content?
我更新到 angular-material 0.9,现在当我打开 md-select 时,它会切断内容边缘的背景。有什么办法可以避免这种情况吗?
http://codepen.io/anon/pen/yNOypa
<div class="background">
<div layout="column" layout-align="center center" flex>
<md-select placeholder="Pick">
<md-option value="1">One</md-option>
<md-option value="2">Two</md-option>
</md-select>
</div>
<p>The background ends at the content when md-select is open</p>
</div>
尝试改变
height:100%;
至
height:100vh;
类似问题:Make div 100% height of browser window
我更新到 angular-material 0.9,现在当我打开 md-select 时,它会切断内容边缘的背景。有什么办法可以避免这种情况吗?
http://codepen.io/anon/pen/yNOypa
<div class="background">
<div layout="column" layout-align="center center" flex>
<md-select placeholder="Pick">
<md-option value="1">One</md-option>
<md-option value="2">Two</md-option>
</md-select>
</div>
<p>The background ends at the content when md-select is open</p>
</div>
尝试改变
height:100%;
至
height:100vh;
类似问题:Make div 100% height of browser window