mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user