diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-10 00:00:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-10 00:00:23 +0200 |
| commit | 02fc0faa9a9165d8ac73385a765a33945cbb8641 (patch) | |
| tree | ddfcc8ea77243ba24c0d1ebdb75809544e977fc4 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 63e4312e6bd50ec9859c363402209809fb8155d5 (diff) | |
| parent | 6b60bc64087e130f30e3bc095a3ef9e0c1790fef (diff) | |
| download | rust-02fc0faa9a9165d8ac73385a765a33945cbb8641.tar.gz rust-02fc0faa9a9165d8ac73385a765a33945cbb8641.zip | |
Rollup merge of #98775 - notriddle:notriddle/mobile-sidebar-scroll-lock, r=jsha
rustdoc: improve scroll locking in the rustdoc mobile sidebars This PR prevents the main content area from scrolling while the mobile sidebar is open on documentation pages (porting the scroll locking behavior from the source sidebar to the regular sidebar), and also fixes some bad behavior where opening a "mobile" sidebar, and growing the viewport so that the "desktop" mode without scroll locking is activated, could potentially leave the page stuck. This does not affect the behavior on larger screens. Only small ones, where the sidebar covers up the main content. Split out from #98772
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
