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

动态计算input控件高度 #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

aofong
Copy link

@aofong aofong commented Nov 23, 2015

form表单有动态计算,可表单下面的input文件控件没有动态计算
在如下场景会出现问题
dom元素没有确定位置而先new一个对象后,form表单会自动定位但由于input控件height=0造成还是无法上传文件
例如弹窗上传
先new一个对象可以避免多次创建dom元素和绑定事件
当弹窗位置确定后form表单位置正确,input控件height不正确

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant