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

Drawer显示位置设置为左右时,禁用mask之后,宽度占满屏 #12401

Closed
babycannotsay opened this Issue Sep 25, 2018 · 17 comments

Comments

Projects
None yet
5 participants
@babycannotsay

babycannotsay commented Sep 25, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.9.3

Environment

Chrome版本 68.0.3440.106(正式版本)

Reproduction link

https://codepen.io/giggle/pen/bxPWKb?editors=0011

Steps to reproduce

https://ant-design.gitee.io/components/drawer-cn/#components-drawer-demo-placement 这个demo上打开codepen. 给Drawer的mask属性设置成false之后,选择right,页面中其他元素不可点击了。

What is expected?

页面中其他元素可点击

What is actually happening?

页面中其他元素不可点击了


我的antd原来为3.7.1 这个版本中没有给ant-drawer-right.ant-drawer-open 设置width: 100%的。不知这里设置成这样何意?

@jljsj33

This comment has been minimized.

Member

jljsj33 commented Sep 25, 2018

@chenshuai2144 mask 禁用时把抽屉的宽度在 ant-drawer 上也加个。。。

@babycannotsay

This comment has been minimized.

babycannotsay commented Sep 26, 2018

@jljsj33 ant-drawer上width=0,只是样式优先级没有ant-drawer-right.ant-drawer-open 高

@jljsj33

This comment has been minimized.

Member

jljsj33 commented Sep 26, 2018

ant-drawer 是默认样式,,当然没 open 高啊。。

@jljsj33 jljsj33 assigned chenshuai2144 and unassigned jljsj33 Sep 26, 2018

@chenshuai2144

This comment has been minimized.

Contributor

chenshuai2144 commented Sep 26, 2018

get

@babycannotsay

This comment has been minimized.

babycannotsay commented Oct 8, 2018

为什么最近发布的版本 没有解决上述问题?

@chenshuai2144

This comment has been minimized.

Contributor

chenshuai2144 commented Oct 8, 2018

因为没有 pr。

@chenshuai2144

This comment has been minimized.

Contributor

chenshuai2144 commented Oct 8, 2018

@jljsj33 还是需要在 drawer 里面做,加了宽度不会自动浮动

@jljsj33

This comment has been minimized.

Member

jljsj33 commented Oct 8, 2018

不会自动浮动是啥个意思???

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 10, 2018

@BoostIO funded this issue with $20. Visit this issue on Issuehunt

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 18, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 18, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 18, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 18, 2018

1 similar comment
@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 18, 2018

@jljsj33

This comment has been minimized.

Member

jljsj33 commented Oct 18, 2018

这玩意咋玩啊。。。我擦。。。 @afc163 咋把这个关了。。。。

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 18, 2018

@jljsj33

This comment has been minimized.

Member

jljsj33 commented Oct 18, 2018

有个壕很霸气。。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment