I have a bottom nav that I want to stay sticky at the bottom of the screen. I have content that is longer than the phone itself, and I want it to scroll down just like you would scroll on Facebook, IG, etc. The problem is the bottom nav IS sticky, but it is covering some of the content I want to show. I don’t know why this is happening since I’ve never experienced this before.
I think, You can try adding padding-bottom
equal to the height of the fixed nav, then setting box-sizing: border-box
to make sure the space was respected without overflow. Give that a try and see if it helps your content show properly!
I had the same issue recently while working on a layout for a project involving breakfast catering London packages
Hey
To fix this, make sure your bottom nav has its vertical constraint set to "bottom". Once that's done, the sticky/fixed behavior should work as expected without covering your content. Hope this helps!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.