-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWPW-165774 [Mobile-GNAV] page is not scrollable in live page #3495
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #3495 +/- ##
=======================================
Coverage 96.48% 96.48%
=======================================
Files 256 256
Lines 60101 60102 +1
=======================================
+ Hits 57989 57990 +1
Misses 2112 2112 ☔ View full report in Codecov by Sentry. |
@@ -337,7 +337,8 @@ export function trigger({ element, event, type } = {}) { | |||
closeAllDropdowns({ type }); | |||
if (isOpen) return false; | |||
element.setAttribute('aria-expanded', 'true'); | |||
if (!isDesktop.matches && type === 'dropdown') disableMobileScroll(); | |||
if (!isDesktop.matches && type === 'dropdown' | |||
&& document.querySelector('header').classList.contains('new-nav')) disableMobileScroll(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't this be trimmed to document.querySelector('header.new-nav')
?
Validation done on the pr in the below urls Recording.2025-01-16.145212.mp4 |
MWPW-165774 [Mobile-GNAV] page is not scrollable in live page (#3495) * check for new nav when disabling ios scroll * shortened the check from the previous commit Co-authored-by: Raghav Sharma <118168183+sharmrj@users.noreply.github.com>
…3503) * Revert "MWPW-140452 - Icon authoring in milo using the federal repo a… (#3357) Revert "MWPW-140452 - Icon authoring in milo using the federal repo and individual SVG assets (#3259)" This reverts commit 81a5770. * [Release] Stage to Main (#3497) MWPW-165774 [Mobile-GNAV] page is not scrollable in live page (#3495) * check for new nav when disabling ios scroll * shortened the check from the previous commit Co-authored-by: Raghav Sharma <118168183+sharmrj@users.noreply.github.com> * MWPW-155425: ability to add multiple event states * MWPW-155425: adjusting the order of the filter messages * MWPW-155425: unit tests --------- Co-authored-by: milo-pr-merge[bot] <169241390+milo-pr-merge[bot]@users.noreply.github.com> Co-authored-by: Okan Sahin <39759830+mokimo@users.noreply.github.com> Co-authored-by: Raghav Sharma <118168183+sharmrj@users.noreply.github.com> Co-authored-by: Sheridan Sunier <sunier@sheridans-mbp.corp.adobe.com> Co-authored-by: Sheridan Sunier <sunier@Sheridans-MacBook-Pro.local>
Resolves: MWPW-165774
Test URLs: