Bug 942259 - Folder list scrolling seems broken. r=vingtetun, a=koi+
--- a/dom/browser-element/BrowserElementPanning.js
+++ b/dom/browser-element/BrowserElementPanning.js
@@ -423,16 +423,17 @@ const ContentPanning = {
}
function targetParent(node) {
return node.parentNode || node.frameElement || null;
}
function scroll(delta) {
current = root;
+ firstScroll = true;
while (current) {
if (doScroll(current, delta)) {
firstScroll = false;
return true;
}
// TODO The current code looks for possible scrolling regions only if
// this is the first scroll action but this should be more dynamic.