Skip to content

Commit

Permalink
MWPW-147127 Scrolling on the gnav in mobile portrait and landscape vi…
Browse files Browse the repository at this point in the history
…ew is not working as expected ,navigation menu when opened is not seen rendered completely in MILO Pages (#2185)

* Fixed content being cutoff when menu is open in mobile/tablet viewports

* Undid prior css change and fixed an issue whoch caused setHamburgerMenu to never be called
  • Loading branch information
sharmrj authored May 10, 2024
1 parent 95ab427 commit 7525513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ class Gnav {

return this.loadDelayed().then(() => {
this.blocks.search.instance = new this.Search(this.blocks.search.config);
});
}).catch(() => {});
};

isToggleExpanded = () => this.elements.mobileToggle?.getAttribute('aria-expanded') === 'true';
Expand Down

0 comments on commit 7525513

Please sign in to comment.