Bug 942259 - Folder list scrolling seems broken. r=vingtetun, a=koi+
authorFabrice Desré <fabrice@mozilla.com>
Sun, 24 Nov 2013 15:18:00 -0800
changeset 156688 24ff09c7885e72459e275449c9012ed90ae2f904
parent 156687 b5ce3906f29f014979cd2cd65ceda96bb2af5dd4
child 156689 452592071fe850301d53270d07995fbbc1d33f20
push id263
push userryanvm@gmail.com
push dateWed, 27 Nov 2013 03:07:58 +0000
reviewersvingtetun, koi
bugs942259
milestone26.0
Bug 942259 - Folder list scrolling seems broken. r=vingtetun, a=koi+
dom/browser-element/BrowserElementPanning.js
--- 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.