Skip to content
New issue

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

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

Already on GitHub? # to your account

关于V6传入隐藏元素的问题 #103

Closed
chenzhe871101 opened this issue Jun 23, 2014 · 2 comments
Closed

关于V6传入隐藏元素的问题 #103

chenzhe871101 opened this issue Jun 23, 2014 · 2 comments

Comments

@chenzhe871101
Copy link

content内容传入一个DIV,如下,content:$("#imp"),<div id="imp" style="display: none;">test</div>为什么不能自动改变元素的display属性把元素显示出来啊,对话框中还是隐藏着的。谷歌浏览器,版本 34.0.1847.116 m

@zotopteam
Copy link

你这个问题很好解决来着,这不是对话框需要做的工作,可以手动显示或者将传入的元素外面加一个div隐藏,本身不要隐藏

@wfly126
Copy link

wfly126 commented Sep 29, 2014

在6之前,传入一个隐藏对象,对话框会自动显示,现在不行

但是我觉得这个功能还是有必要的,因为很多时候要弹出对话框的内容都是预先隐藏的!

aui pushed a commit that referenced this issue Nov 9, 2014
@aui aui closed this as completed Nov 9, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants