When I scroll down in my browser (chrome), the right column is pushed all the way to the left, my sidebar is pushed to the background, and and all the right-side content is over the left-side sidebar.
This only happens when I apply the affix properties to my sidebar div.
If you notice, under normal situations, the page is rendered without a problem, as you can see below:
However, when I scroll down, this is how it looks like:
For your reference, this is how I'm implementing the affix div:
<div class="row content-wrapper">
<div data-spy="affix" data-offset-top="200" data-offset-bottom="200" id="myAffix">
<div class="col-lg-3">
<!-- Sidebar code -->
</div>
</div>
<div class="col-lg-9">
<!-- content -->
</div>
</div>
Here's a link to JS fiddle, so that you can see the problem happening live:
Here's a JS fiddle for you to see the error:
How can I fix this?