Homestyx hydra
Diffusion hydra 4596e3876b5f

Improve scrolling behavior for lightboxes in Safari

Description

Improve scrolling behavior for lightboxes in Safari

Summary: Our "html { overflow-y: scroll; }" makes Safari flip out when we put "hidden" on body. Instead, put the scroll on body and then replace it with hidden when the lightbox is visible.

Test Plan: In Safari, the body scrollbar vanishes when the lightbox is active and scrolling no longer causes spasms.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D3800

Details

Provenance
epriestleyAuthored on Oct 23 2012, 3:00 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:70dc3f5004a0: Show all available action list icons in UIExamples
Branches
Unknown
Tags
Unknown

Event Timeline