We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d757ac6 commit 024698dCopy full SHA for 024698d
components/drawer/index.jsx
@@ -142,7 +142,7 @@ const Drawer = {
142
return null;
143
}
144
this.destroyClose = false;
145
- const { placement, bodyStyle } = this.$props;
+ const { placement, bodyStyle, wrapStyle } = this.$props;
146
147
const containerStyle =
148
placement === 'left' || placement === 'right'
@@ -162,7 +162,7 @@ const Drawer = {
162
return (
163
<div
164
class={`${prefixCls}-wrapper-body`}
165
- style={containerStyle}
+ style={{...containerStyle, ...wrapStyle}}
166
onTransitionend={this.onDestroyTransitionEnd}
167
>
168
{this.renderHeader(prefixCls)}
0 commit comments