Skip to content

Commit f9fbf18

Browse files
authored
switched between portrait and landscape without refresh the gap is seen (#4498)
1 parent af4764c commit f9fbf18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/blocks/global-navigation/global-navigation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,7 @@ class Gnav {
11931193
header.style.top = 0;
11941194
localNav.style.top = promoHeight;
11951195
}
1196+
if (!isDesktop.matches) this.updatePopupPosition();
11961197
};
11971198

11981199
if (this.elements.aside.clientHeight > fedsPromoWrapper.clientHeight) {

0 commit comments

Comments
 (0)