Element: Can Drawe Scroll

Created on 22 Aug 2019  ·  2Comments  ·  Source: ElemeFE/element

Existing Component

Component Name

Drawer

Description

抽屉组件内嵌了一个表单,但是表单的内容过长怎么才可以滚屏

Most helpful comment

Add global style

.el-drawer__body {
height: 100%;
box-sizing: border-box;
overflow-y: auto;
padding: 20px; // According to the situation
}

All 2 comments

Translation of this issue:

Existing Component

yes

Component Name

Drawer

Description

Drawer components have a form embedded, but how can the form scroll if its content is too long?

Add global style

.el-drawer__body {
height: 100%;
box-sizing: border-box;
overflow-y: auto;
padding: 20px; // According to the situation
}

Was this page helpful?
0 / 5 - 0 ratings