Element: [Bug Report] el-drawer does not have a scrollbar

Created on 15 Oct 2019  ·  4Comments  ·  Source: ElemeFE/element

Element UI version

2.12.0

OS/Browsers version

win10 chrome 74

Vue version

2.6.10

Reproduction Link

https://jsfiddle.net/mLvkb0f4/

Steps to reproduce

just create a very long el-drawer, then it comes to have no slider

What is Expected?

it show's slider as other components

What is actually happening?

it has no slider

Most helpful comment

I had to add this CSS to mine to add the scrollbar:

    .el-drawer__body {
        height: 100%;
        box-sizing: border-box;
        overflow-y: auto;
    }

Got it from https://github.com/ElemeFE/element/issues/17130#issuecomment-523778100

All 4 comments

I had to add this CSS to mine to add the scrollbar:

    .el-drawer__body {
        height: 100%;
        box-sizing: border-box;
        overflow-y: auto;
    }

Got it from https://github.com/ElemeFE/element/issues/17130#issuecomment-523778100

I had to add this CSS to mine to add the scrollbar:

  .el-drawer__body {
      height: 100%;
      box-sizing: border-box;
      overflow-y: auto;
  }

Got it from #17130 (comment)

Solved the issue

Please close this issue.

this css not work for me.

Was this page helpful?
0 / 5 - 0 ratings