From d10b9fbe1bf12576ce6a9e64163be65bedbc8efb Mon Sep 17 00:00:00 2001 From: Richard Davenport Date: Tue, 12 May 2015 14:16:44 -0500 Subject: [PATCH] Fix scrollbars when backdrop is nested. Absolutely positioning the backdrop will always position it based off the parent's positioning. This is a problem if the backdrop where to be nested. Positioning fixed will always give it a position based off the viewport, which is the goal of any backdrop. --- src/components/backdrop/backdrop.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/backdrop/backdrop.scss b/src/components/backdrop/backdrop.scss index 0040243a6e2..bee2bade466 100644 --- a/src/components/backdrop/backdrop.scss +++ b/src/components/backdrop/backdrop.scss @@ -15,7 +15,7 @@ md-backdrop { background-color: rgba(0,0,0,0); - position: absolute; + position: fixed; height: 100%; left: 0; right: 0;