From 4ffca82bab60222c388724b0d5eb701071a43a5b Mon Sep 17 00:00:00 2001 From: Kane York Date: Wed, 5 Aug 2015 11:11:51 -0700 Subject: [PATCH] FIX: Issue scroll event after rendering --- app/assets/javascripts/discourse/mixins/scrolling.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/mixins/scrolling.js b/app/assets/javascripts/discourse/mixins/scrolling.js index 6178e46a33d..c9473c155e5 100644 --- a/app/assets/javascripts/discourse/mixins/scrolling.js +++ b/app/assets/javascripts/discourse/mixins/scrolling.js @@ -33,6 +33,7 @@ Discourse.Scrolling = Em.Mixin.create({ } Discourse.ScrollingDOMMethods.bindOnScroll(onScrollMethod, opts.name); + Em.run.scheduleOnce('afterRender', onScrollMethod); }, /**