Bug 942259 - Folder list scrolling seems broken r=vingtetun
authorFabrice Desré <fabrice@mozilla.com>
Sun, 24 Nov 2013 15:18:00 -0800
changeset 157287 fbafab3a0c281631094e7c55f19ddcb39e13844b
parent 157286 05159ac41482cf85857e89e168042ae4b704fbcd
child 157288 2cae126450b2214cb30027257e262ffea3644201
push id25707
push usercbook@mozilla.com
push dateMon, 25 Nov 2013 11:35:13 +0000
treeherdermozilla-central@70779672ea78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvingtetun
bugs942259
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 942259 - Folder list scrolling seems broken r=vingtetun
dom/browser-element/BrowserElementPanning.js
--- a/dom/browser-element/BrowserElementPanning.js
+++ b/dom/browser-element/BrowserElementPanning.js
@@ -405,16 +405,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.