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

Modal在一级弹窗显示ok,二级弹窗蒙层没有显示 #2009

Closed
Jessie-D opened this issue Jun 12, 2016 · 12 comments
Closed

Modal在一级弹窗显示ok,二级弹窗蒙层没有显示 #2009

Jessie-D opened this issue Jun 12, 2016 · 12 comments

Comments

@Jessie-D
Copy link

打开一个弹窗正常,但是在弹窗中点击按钮生成新的弹窗,蒙层没有正常显示
qq 20160612105626

期待的结果是:
多级弹窗正常显示
qq 20160612110015

  • antd 版本:1.1.0
  • 操作系统及其版本:win7-64-pc
  • 浏览器及其版本: Chrome
@yesmeck
Copy link
Member

yesmeck commented Jun 12, 2016

我这里把@zindex-modal-mask也设置成 1000 就 ok 了。

@afc163
Copy link
Member

afc163 commented Jun 12, 2016

来个 PR ~

@Jessie-D
Copy link
Author

是的,两个一样就好了

@yesmeck
Copy link
Member

yesmeck commented Jun 12, 2016

@Jessie-D 你来吧 😄

@afc163
Copy link
Member

afc163 commented Jun 12, 2016

@Jessie-D 等你呦~ 🎅

@Jessie-D
Copy link
Author

master/components/style/themes/default.less中@zindex-modal;@zindex-modal-mask这两个值一样就好,但是我不知道会不会引起其他问题,就不pr了哈
3cb92f4d-dd39-4f38-95a8-c04466152f57

@afc163
Copy link
Member

afc163 commented Jun 12, 2016

我觉得没问题啊,求 PR ,这么好的贡献机会不来一发~

Jessie-D pushed a commit to Jessie-D/ant-design that referenced this issue Jun 12, 2016
change @zindex-madal-mask from 990 to 1000 to fix issue ant-design#2009 (Modal在一级弹窗显示ok,二级弹窗蒙层没有显示)
@afc163
Copy link
Member

afc163 commented Jun 14, 2016

...没反馈啊。@Jessie-D

@afc163 afc163 closed this as completed in dd68678 Jun 15, 2016
@afc163
Copy link
Member

afc163 commented Jun 15, 2016

还得靠自己..

@revier
Copy link

revier commented Jun 16, 2016

我内嵌一段文字在modal里面,发现什么都没有。code就如下:

   <FormItem>
            <Modal visible={true} footer={null} onCancel={this.handleCancel.bind(this)}>
                <p>Bla bla ...</p>
              <p>Bla bla ...</p>
             </Modal>
      </FormItem>

改了下zindex也不行。
antd版本用的是1.4.1

效果就是一个蒙板什么都没有。

求指导。
谢谢

@yesmeck
Copy link
Member

yesmeck commented Jun 16, 2016

@revier 你这是另外的问题,新开个 issue,附个 demo 吧。

@lock
Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants