N°4631 - Fix a display issue when description field is fullscreen white using vertical tabs

This commit is contained in:
Stephen Abello
2024-03-28 17:01:45 +01:00
parent 7f9b60d66f
commit 5efb1a0872
3 changed files with 26 additions and 0 deletions

View File

@@ -132,10 +132,18 @@ $(function () {
})
// ... we consider the header as sticking...
.on('enter', function () {
// N°4631 - If a non-intersecting element is fullscreen, we do nothing
if ($('.ibo-is-fullscreen-non-intersecting').length > 0) {
return;
}
me._onHeaderBecomesSticky();
})
// ... and when it comes back in the viewport, it stops.
.on('leave', function () {
// N°4631 - If a non-intersecting element is fullscreen, we do nothing
if ($('.ibo-is-fullscreen-non-intersecting').length > 0) {
return;
}
me._onHeaderStopsBeingSticky();
})
.addTo(this.sticky_header_controller);