Page MenuHomePhabricator

[landing] fix body scrolling when modal is active
ClosedPublic

Authored by ginsu on Jul 11 2023, 3:52 PM.
Tags
None
Referenced Files
F3409212: D8480.id28607.diff
Wed, Dec 4, 3:17 PM
F3409211: D8480.id29711.diff
Wed, Dec 4, 3:17 PM
F3409091: D8480.id29778.diff
Wed, Dec 4, 2:57 PM
F3409007: D8480.id28679.diff
Wed, Dec 4, 2:42 PM
F3407562: D8480.diff
Wed, Dec 4, 6:42 AM
Unknown Object (File)
Sun, Nov 17, 2:18 AM
Unknown Object (File)
Sun, Nov 17, 1:40 AM
Unknown Object (File)
Sun, Nov 17, 1:40 AM
Subscribers

Details

Summary

As I was working on D8477, I noticed that I introduced a regression in D8175 where the page would still scroll even when a modal was active. With @ashoat's help, we built this diff to fix this regression

Depends on D8477

Test Plan

Please see the demo video to see that the scroll no longer works when the modal is active, and that the keyserver animations and scroll to top functionality on navigation still works

Diff Detail

Repository
rCOMM Comm
Branch
eng-3423 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, kamil.
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Jul 11 2023, 4:10 PM
kamil added inline comments.
landing/landing.react.js
54–58

nit

This revision is now accepted and ready to land.Jul 13 2023, 2:37 AM
This revision was landed with ongoing or failed builds.Aug 8 2023, 2:09 PM
This revision was automatically updated to reflect the committed changes.