mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 563777 - Awesomebar refuses to scroll down when moving the selection using the Down key; it jumps back although selection stays [r=mbrubeck]
This commit is contained in:
parent
603fa36bf9
commit
9437f54308
@ -37,11 +37,6 @@
|
||||
}
|
||||
]]>
|
||||
</handler>
|
||||
<handler event="input">
|
||||
<![CDATA[
|
||||
this.popup.scrollToTop();
|
||||
]]>
|
||||
</handler>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
@ -184,12 +179,6 @@
|
||||
this.collapsed = true;
|
||||
this._popupOpen = false;
|
||||
|
||||
// Scroll to the top left for the next open (only if necessary).
|
||||
// Doing this now rather than in open() turns out to be faster,
|
||||
// possibly because it avoids scrolling too soon after we uncollapse
|
||||
// ourselves
|
||||
this.scrollToTop();
|
||||
|
||||
let event = document.createEvent("Events");
|
||||
event.initEvent("popuphidden", true, false);
|
||||
this.dispatchEvent(event);
|
||||
@ -285,6 +274,9 @@
|
||||
items.insertBefore(this._allBookmarksItem, items.firstChild);
|
||||
this._allBookmarksItem._hidden = false;
|
||||
}
|
||||
|
||||
// Make sure the list is scrolled to the top
|
||||
this.scrollToTop();
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user