From 162b15236df165d9af4addc04d4a32d93d0d3fb8 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Fri, 18 Feb 2022 09:17:55 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04783=20Fix=20tabs=20headers=20hiding=20o?= =?UTF-8?q?n=20Chrome=20with=20zoom-in/out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/layouts/tab-container/tab-container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/layouts/tab-container/tab-container.js b/js/layouts/tab-container/tab-container.js index a0d91687a..24c5ae63e 100644 --- a/js/layouts/tab-container/tab-container.js +++ b/js/layouts/tab-container/tab-container.js @@ -157,7 +157,7 @@ $(function() me._updateExtraTabsList(); }, { root: $('.ibo-tab-container--tabs-list')[0], - threshold: [1] // Must be completely visible + threshold: [0.9] // N°4783 Should be completely visible, but lowering the threshold prevents a bug in the JS Observer API when the window is zoomed in/out, in which case all items respond as being hidden even when they are not. }); this.element.find(this.js_selectors.tab_header).each(function(){ oTabsListIntersectObs.observe(this);