[GH-ISSUE #313] Noodle: empty strip between the mobile bottom nav and the Android system nav bar #162

Closed
opened 2026-10-20 17:24:58 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Gunterlie on GitHub (Aug 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/313

Report

On Android (OnePlus 10 Pro, Firefox 153, Engine 2.4.2) Noodle shows an empty strip below its mobile bottom navigation bar. iOS does not show it.

Cause

The Engine viewport meta sets viewport-fit=cover, so env(safe-area-inset-bottom) resolves to the height of the Android system navigation bar (about 48px with the 3-button bar). NoodleShell adds that inset three times:

  • the mobile <nav>: pb-[env(safe-area-inset-bottom)]
  • the <main> scroll reserve: pb-[calc(56px+env(safe-area-inset-bottom))]
  • the mobile drawer: pb-[max(1rem,env(safe-area-inset-bottom))]

The Noodle nav is absolute bottom-0 of a nested panel inside the Engine chrome, not of the visual viewport. The panel bottom already sits above the system bar, so the inset is applied a second time and becomes visible empty background. On iOS the bar is flush with the screen bottom, so the same padding looks intentional.

Fix

Drop the safe-area inset from the three Noodle shell paddings. The Engine chrome that hosts the panel owns the device safe area. Ship as Noodle 1.0.7.

Originally created by @Gunterlie on GitHub (Aug 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/313 ## Report On Android (OnePlus 10 Pro, Firefox 153, Engine 2.4.2) Noodle shows an empty strip below its mobile bottom navigation bar. iOS does not show it. ## Cause The Engine viewport meta sets `viewport-fit=cover`, so `env(safe-area-inset-bottom)` resolves to the height of the Android system navigation bar (about 48px with the 3-button bar). `NoodleShell` adds that inset three times: - the mobile `<nav>`: `pb-[env(safe-area-inset-bottom)]` - the `<main>` scroll reserve: `pb-[calc(56px+env(safe-area-inset-bottom))]` - the mobile drawer: `pb-[max(1rem,env(safe-area-inset-bottom))]` The Noodle nav is `absolute bottom-0` of a nested panel inside the Engine chrome, not of the visual viewport. The panel bottom already sits above the system bar, so the inset is applied a second time and becomes visible empty background. On iOS the bar is flush with the screen bottom, so the same padding looks intentional. ## Fix Drop the safe-area inset from the three Noodle shell paddings. The Engine chrome that hosts the panel owns the device safe area. Ship as Noodle 1.0.7.
Author
Owner

@Gunterlie commented on GitHub (Aug 12, 2026):

Correction to the cause above: no ancestor reserves the bottom inset for the Noodle panel — AppShell spaces only the top safe area — so deleting the inset would push the iOS nav under the home indicator. The inset is real on WebKit and phantom on Gecko/Android. PR #314 gates it by engine instead of removing it.

<!-- gh-comment-id:5269409269 --> @Gunterlie commented on GitHub (Aug 12, 2026): Correction to the cause above: no ancestor reserves the bottom inset for the Noodle panel — `AppShell` spaces only the top safe area — so deleting the inset would push the iOS nav under the home indicator. The inset is real on WebKit and phantom on Gecko/Android. PR #314 gates it by engine instead of removing it.
Author
Owner

@Gunterlie commented on GitHub (Aug 12, 2026):

Fixed in #314, merged to staging as Noodle 1.0.7 (merge commit e768434). Left open on purpose: the Android-Firefox and iOS-Safari checks are still unverified on hardware, and staging still needs promotion to main before the catalog serves 1.0.7.

<!-- gh-comment-id:5269485589 --> @Gunterlie commented on GitHub (Aug 12, 2026): Fixed in #314, merged to `staging` as Noodle 1.0.7 (merge commit e768434). Left open on purpose: the Android-Firefox and iOS-Safari checks are still unverified on hardware, and `staging` still needs promotion to `main` before the catalog serves 1.0.7.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#162
No description provided.