1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00
phorge-phorge/src
epriestley 4596e3876b 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
2012-10-23 12:00:37 -07:00
..
aphront Defuse a "Host:" header attack 2012-10-22 10:49:06 -07:00
applications Show all available action list icons in UIExamples 2012-10-23 12:00:28 -07:00
docs Pass key to aggregate exception 2012-10-20 07:33:42 -07:00
infrastructure Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
rsrc Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
view Show all available action list icons in UIExamples 2012-10-23 12:00:28 -07:00
__celerity_resource_map__.php Improve scrolling behavior for lightboxes in Safari 2012-10-23 12:00:37 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Introduce lightbox view for images 2012-10-22 19:06:56 -07:00