Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libs/c2/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ export default async function init(el) {
});
return {};
});
gnavPromise.then(() => requestAnimationFrame(() => window.lenis?.resize()));
config.federal = { fedsGlobalNavigation: gnavPromise };
}
1 change: 0 additions & 1 deletion libs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2308,7 +2308,6 @@ async function loadPostLCP(config) {
const lenisPreventSelectors = [
'.dialog-modal',
'.ot-sdk-container',
'.global-navigation',
'div[data-testid="main-content-area"]',
];
window.lenis = new window.Lenis({
Expand Down
Loading