I have an issue in chrome 44 for this code (here is the fiddle : <http://jsfiddle.net/o6b8rdh8/>):

```
<div id="body">

    <div id="header">
        Header...
    </div>

    <div id="content">
        <div id="main">
            <p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p><p>Content</p>
        </div>
        <div id="parent">
            <div id="background">

            </div>
            <div id="card">
                Lorem...
            </div>
        </div>
    </div>

</div>

#body {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    overflow: hidden;
}

#header {
    position: fixed;
    height: 50px;
    background-color: yellow;
    opacity: 0.5;
    width: 100%;
}

#content {
    position: absolute;  
    top: 50px;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: auto;
}

#parent {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: auto;
}

#background {
    opacity: 0.5;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: blue;
}

#card {
    position: relative;
    margin: 50px 50px 0;
    background-color: white;
    height: 2000px;
    border: 5px solid red;
}

```

[![Here](https://i.imgur.com/AardplS.png)](https://i.imgur.com/AardplS.png)

The above is a screenshot of the issue.

The issue is that when I scroll, the fixed background scrolls too. It should stay fixed.

It works perfectly in Firefox 39 and Safari 8.

Any idea how we could fix this?

Thanks.

**Edit 1**:
Same issue on mobile devices. Replicated on OnePlus One and Nexus 9 with both Chrome Latest.

**Edit 2**:
I have updated the fiddle to reflect more the reality. This breaks the answer by @vivekkupadhyay :( .

Here another fiddle that shows the use case when the modal view is closed : <http://jsfiddle.net/et0d4dox/1/>

The initial fiddle (<http://jsfiddle.net/o6b8rdh8/>) is the use case when the modal is opened.