mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix arrow keys in nextmatch do not properly scroll row into view
This commit is contained in:
parent
498db61f46
commit
e97a9d991e
@ -233,6 +233,10 @@ var et2_dataview_container = (function(){ "use strict"; return Class.extend(et2_
|
|||||||
{
|
{
|
||||||
this._height = 0;
|
this._height = 0;
|
||||||
|
|
||||||
|
// Setting this before measuring height helps with issues getting the
|
||||||
|
// wrong height due to margins & collapsed borders
|
||||||
|
this.tr.css('display','block');
|
||||||
|
|
||||||
// Increment the height value for each visible container node
|
// Increment the height value for each visible container node
|
||||||
for (var i = 0; i < this._nodes.length; i++)
|
for (var i = 0; i < this._nodes.length; i++)
|
||||||
{
|
{
|
||||||
@ -241,6 +245,7 @@ var et2_dataview_container = (function(){ "use strict"; return Class.extend(et2_
|
|||||||
this._height += this._nodeHeight(this._nodes[i][0]);
|
this._height += this._nodeHeight(this._nodes[i][0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.tr.css('display','');
|
||||||
}
|
}
|
||||||
|
|
||||||
return this._height === false ? 0 : this._height;
|
return this._height === false ? 0 : this._height;
|
||||||
|
@ -1584,9 +1584,6 @@ div.message.floating {
|
|||||||
.select-cat li{
|
.select-cat li{
|
||||||
border-left: 6px solid transparent;
|
border-left: 6px solid transparent;
|
||||||
}
|
}
|
||||||
.et2_nextmatch .egwGridView_grid, .et2_nextmatch .egwGridView_outer {
|
|
||||||
border-collapse: separate;
|
|
||||||
}
|
|
||||||
.et2_nextmatch .egwGridView_outer .egwGridView_scrollarea tbody tr.row_category td:first-child > div {
|
.et2_nextmatch .egwGridView_outer .egwGridView_scrollarea tbody tr.row_category td:first-child > div {
|
||||||
margin-left:-6px;
|
margin-left:-6px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
|
Loading…
Reference in New Issue
Block a user