From 7719a34e2ced6715a7c6537e48201f448ce0de2e Mon Sep 17 00:00:00 2001 From: Tommy Ip Date: Sat, 31 Dec 2016 20:05:50 +0000 Subject: [PATCH] Automatically hide actions popover on scroll. Fixes #3012. --- static/js/popovers.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/popovers.js b/static/js/popovers.js index a3d1358641..94ec8d58d6 100644 --- a/static/js/popovers.js +++ b/static/js/popovers.js @@ -818,6 +818,10 @@ exports.register_click_handlers = function () { }, true); }); + $('.app').on('scroll', function () { + popovers.hide_actions_popover(); + }); + }; exports.any_active = function () {