Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Drawe Scroll #17130

Closed
zhangHongBo21 opened this issue Aug 22, 2019 · 2 comments
Closed

Can Drawe Scroll #17130

zhangHongBo21 opened this issue Aug 22, 2019 · 2 comments

Comments

@zhangHongBo21
Copy link

@zhangHongBo21 zhangHongBo21 commented Aug 22, 2019

Existing Component

Component Name

Drawer

Description

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

@element-bot element-bot changed the title Drawe 是否可以滚动 Can Drawe Scroll Aug 22, 2019
@element-bot

This comment has been minimized.

Copy link
Collaborator

@element-bot element-bot commented Aug 22, 2019

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?

@zhuxianbin

This comment has been minimized.

Copy link

@zhuxianbin zhuxianbin commented Aug 22, 2019

Add global style

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.