Ok so I’m using Ionic v1 for my current project and I designed myself a custom animated sidebar. It’s aligned perfect and everything. But, when I scroll down on my news feed/content the sidebar slides up with the window document upon scroll. Attached it 3 screenshots showing you exactly what I mean.
Please help me resolve this issue as, I wish to have THIS style and THIS layout as MY project.
Therefore if your layout works in one it works in the other.
The only difference between them is that fixed is positioned relative to the screen’s viewport and doesn’t move when scrolled. Which is exactly what you asked for.
Anyways I see your fiddle. But that doesn’t work. I’ve onviously tried that. It’ll do it, but when the document is scrolled the height of menu contents move up along the document.
Sorry, I get annoyed when it seems like people are being rude…
However, the problem was I used some stupid online idea of always having the max height as 100vh but that was the issue because I changed it back to 100% and that seems to be working.
But, there’s one more thing I’m trying to accomplish. The #sidemenu's #sideitems still are scrolling with the height of the document. I’m going to try generating the same concept behind the #sidemenu to see if that’ll help keep the #sideitems operating in the same manner as the #sidemenu that way they don’t scroll with the document height either.