Bolt mobile

Bottom Navigation Bar Overlapping Page Content in Bolt App

The fixed bottom navigation bar in your Bolt.new app covers the last items on every page. Users cannot see or tap buttons, form submit actions, and the last few items in lists are permanently hidden behind the nav bar. Scrolling to the bottom doesn't help because the nav bar moves with the viewport.

This is especially problematic on pages with action buttons at the bottom (checkout, submit, save), infinite scroll lists, and chat interfaces where the input field is at the bottom. Users literally cannot complete key actions because the navigation bar is covering them.

The problem gets worse on iPhones with the home indicator bar (iPhone X and later), where the safe area inset adds additional space that pushes the nav bar higher but doesn't account for the content behind it.

Error Messages You Might See

No error messages - this is a layout/UX issue Lighthouse: Tap targets are too close together Content is clipped by fixed positioned element
No error messages - this is a layout/UX issueLighthouse: Tap targets are too close togetherContent is clipped by fixed positioned element

Common Causes

  • Fixed bottom nav without content padding — The nav bar uses position: fixed but the page content doesn't have matching bottom padding to account for the nav height
  • No safe area inset handling — On notched iPhones, the env(safe-area-inset-bottom) is not applied, causing the nav to overlap the home indicator area
  • Dynamic content height changes — Content loads after the initial layout calculation, pushing elements behind the nav bar
  • Z-index conflicts — The bottom nav has a lower z-index than some page elements, causing inconsistent overlap behavior
  • Virtual keyboard pushing nav up — When the keyboard opens on mobile, the fixed bottom nav moves up and covers form inputs

How to Fix It

  1. Add bottom padding to main content — Add padding-bottom equal to your nav height plus safe area: <main className="pb-20"> for a nav bar that is h-16 (64px) with some buffer
  2. Handle safe area insets — Add env(safe-area-inset-bottom) to your nav: style={{ paddingBottom: 'env(safe-area-inset-bottom)' }} and add the viewport-fit=cover meta tag
  3. Hide nav when keyboard is open — Detect keyboard visibility and hide the bottom nav: use visualViewport.resize event to detect keyboard appearance
  4. Use a spacer element — Add an empty div with the same height as the nav bar at the end of your content: <div className="h-16" aria-hidden="true" />
  5. Set proper z-index — Give the bottom nav z-50 and ensure no other elements exceed it: <nav className="fixed bottom-0 inset-x-0 z-50 bg-white">
  6. Add viewport-fit meta tag — Update your viewport meta: <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />

Real developers can help you.

Jared Hasson Jared Hasson Full time lead founding dev at a cyber security saas startup, with 10 yoe and a bachelor's in CS. Building & debugging software products is what I've spent my time on for forever Basel Issmail Basel Issmail ’m a Senior Full-Stack Developer and Tech Lead with experience designing and building scalable web platforms. I work across the full development lifecycle, from translating business requirements into technical architecture to delivering reliable production systems. My work focuses on modern web technologies, including TypeScript, Angular, Node.js, and cloud-based architectures. I enjoy solving complex technical problems and helping teams turn product ideas and prototypes into working platforms that can grow and scale. In addition to development, I often collaborate closely with product managers, business analysts, designers, and QA teams to ensure that solutions align with both technical and business goals. I enjoy working with startups and product teams where I can contribute both as a hands-on engineer and as a technical partner in designing and delivering impactful software. prajwalfullstack prajwalfullstack Hi Im a full stack developer, a vibe coded MVP to Market ready product, I'm here to help Matthew Butler Matthew Butler Systems Development Engineer @ Amazon Web Services Pratik Pratik SWE with 15+ years of experience building and maintaining web apps and extensive BE infrastructure Dor Yaloz Dor Yaloz SW engineer with 6+ years of experience, I worked with React/Node/Python did projects with React+Capacitor.js for ios Supabase expert Franck Plazanet Franck Plazanet I am a Strategic Engineering Leader with over 8 years of experience building high-availability enterprise systems and scaling high-performing technical teams. My focus is on bridging the gap between complex technology and business growth. Core Expertise: 🚀 Leadership: Managing and coaching teams of 15+ engineers, fostering a culture of accountability and continuous improvement. 🏗️ Architecture: Enterprise Core Systems, Multi-system Integration (ERP/API/ETL), and Core Database Structure. ☁️ Cloud & Scale: AWS Expert; architected systems handling 10B+ monthly requests and managing 100k+ SKUs. 📈 Business Impact: Aligning tech strategy with P&L goals to drive $70k+ in monthly recurring revenue. I thrive on "out-of-the-box" thinking to solve complex technical bottlenecks and am always looking for ways to use automation to improve business productivity. Bastien Labelle Bastien Labelle Full stack dev w/ 20+ years of experience Yovel Cohen Yovel Cohen I got a lot of experience in building Long-horizon AI Agents in production, Backend apps that scale to millions of users and frontend knowledge as well. Richard McSorley Richard McSorley Full-Stack Software Engineer with 8+ years building high-performance applications for enterprise clients. Shipped production systems at Walmart (4,000+ stores), Cigna (20M+ users), and Arkansas Blue Cross. 5 patents in retail/supply chain tech. Currently focused on AI integrations, automation tools, and TypeScript-first architectures.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help

Frequently Asked Questions

How do I calculate the right bottom padding for my content?

Measure your bottom nav height (usually 64px or h-16 in Tailwind) and add 16-20px buffer. In Tailwind, use pb-20 (80px) for a h-16 nav. On iOS, also add env(safe-area-inset-bottom) using the viewport-fit=cover meta tag.

Should I hide the bottom nav when the keyboard opens?

Yes, on mobile the keyboard pushes fixed bottom elements up, covering input fields. Detect keyboard visibility using the visualViewport API and hide or reposition the nav: window.visualViewport.addEventListener('resize', () => setKeyboardOpen(visualViewport.height < window.innerHeight * 0.75))

Related Bolt Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help