Commit 9272fc518484e6982b6a4346fa50cf59456e08cc

Authored by hoythan
1 parent 68335adb

fix #5076 drawer inner scrollbar

examples/routers/drawer.vue
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 </div> 9 </div>
10 10
11 - <Drawer v-model="visible" width="70" title="抽屉标题" :styles="styles" @on-close="handleClose"> 11 + <Drawer v-model="visible" width="70" inner title="抽屉标题" :styles="styles" @on-close="handleClose">
12 <p>一些内容</p> 12 <p>一些内容</p>
13 <p>一些内容</p> 13 <p>一些内容</p>
14 <p>一些内容</p> 14 <p>一些内容</p>
src/styles/components/drawer.less
@@ -34,6 +34,7 @@ @@ -34,6 +34,7 @@
34 34
35 &-inner{ 35 &-inner{
36 position: absolute; 36 position: absolute;
  37 + overflow: hidden;
37 } 38 }
38 } 39 }
39 40