fix broken ensureElementIsVisible method
I think this should fix #1730, Metadata pane doesn't scroll down when tabbing between fields
This commit is contained in:
parent
173f10a6fa
commit
1a726d357a
2 changed files with 1 additions and 4 deletions
|
@ -896,9 +896,6 @@
|
||||||
<parameter name="elem"/>
|
<parameter name="elem"/>
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
// DEBUG: Valid nsIScrollBoxObject but methods return errors
|
|
||||||
return;
|
|
||||||
|
|
||||||
var sbo = document.getAnonymousNodes(this)[0].boxObject;
|
var sbo = document.getAnonymousNodes(this)[0].boxObject;
|
||||||
sbo.QueryInterface(Components.interfaces.nsIScrollBoxObject);
|
sbo.QueryInterface(Components.interfaces.nsIScrollBoxObject);
|
||||||
sbo.ensureElementIsVisible(elem);
|
sbo.ensureElementIsVisible(elem);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
scrollbox
|
scrollbox
|
||||||
{
|
{
|
||||||
overflow: visible;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
row, tagsbox row
|
row, tagsbox row
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue