252 Unstar Star 475 Fork 257

稻米 / LigerUIJavaScript

生成表格时,如果有title,toolbar,编辑时input会飞到上面

Closed
每天进步一点7  Opened this issue

生成表格时,如果有title,toolbar,编辑时会出问题:如下
QQ图片20140625214339
解决:
10630行
topbarHeight = p.toolbar ? g.topbar.parent().outerHeight() : 0 + p.title ? g.header.outerHeight() : 0,

//加上括号解决不能正常判定topBar的高度。不加括号会忽略后面运算出来的值
topbarHeight = (p.toolbar ? g.topbar.parent().outerHeight() : 0) + (p.title ? g.header.outerHeight() : 0),

17593 ligerui 1578915163 total 2 participants

Comments (2)

17593 ligerui 1578915163
稻米 2014-09-02 14:38 owner

多谢提供

17593 ligerui 1578915163
稻米 2014-09-02 14:38 owner

Status changed to closed

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
JavaScript
1
https://gitee.com/ligerui/LigerUI.git
git@gitee.com:ligerui/LigerUI.git
ligerui
LigerUI
LigerUI

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542