N°4021 - Fix header jumping out of sticky positioning when getting near some tabs

Reason: DataTables' dynamic height cannot work we a static "duration" (height) based on the initial panel's height
This commit is contained in:
Molkobain
2021-05-31 13:15:10 +02:00
parent 1e99ad436f
commit a6e5969201

View File

@@ -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...