Attempting to adjust the position of a div
in AngularJS (1.5) using the MacGyver library (). The id="reportOption"
div remains fixed while the id="reports"
div scrolls down. However, there is an issue where the id="reports"
div shifts left when scrolling and ends up overlapping the id="reportOption"
div... any insights on why this might be happening?
<div class="row">
<h1 align="center">Reports</h1>
</div>
<div class="row ">
<div id="reportOption" class="col-md-2" style="border:1pt solid black" mac-affix >
<br><br><br><br>this should be fixed
</div>
<div id="reports" class="col-md-10">
<br>1
<br>1
... (content continues)
<br>1
</div>
</div>
Tried creating a Plunker demo for this scenario but faced issues... https://plnkr.co/edit/7Sw9P1iZ6cqNLSURPqC5?p=preview
Open to exploring alternative solutions as well...