From a6e5969201e74b5cea88289441861685b48abd3c Mon Sep 17 00:00:00 2001 From: Molkobain Date: Mon, 31 May 2021 13:15:10 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04021=20-=20Fix=20header=20jumping=20out?= =?UTF-8?q?=20of=20sticky=20positioning=20when=20getting=20near=20some=20t?= =?UTF-8?q?abs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reason: DataTables' dynamic height cannot work we a static "duration" (height) based on the initial panel's height --- js/components/panel.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/components/panel.js b/js/components/panel.js index 6b4a57318..eb85a4223 100644 --- a/js/components/panel.js +++ b/js/components/panel.js @@ -128,7 +128,6 @@ $(function () { triggerElement: this.element.find(this.js_selectors.block.panel_header_sticky_sentinel_top)[0], // ... leaves the viewport... triggerHook: 0, - duration: this.element.outerHeight(), offset: this.element.find(this.js_selectors.block.panel_header_sticky_sentinel_top).outerHeight() }) // ... we consider the header as sticking...