Simple CSS position:fixed isn't working within view

I’d like to have a static “bar” in my view when the user has scrolled down past a certain point. However when I add a postion: fixed to a div, it scrolls with the page. (ie it’s not fixed like a header/nav bar)

Is there any built-in ionic stuff that would override the position:fixed functionality? CSS people tell me that nothing can override positon:fixed; however the fact that it’s not working says something.

I think it’s transitions but i’m not sure…