Skip to content

fix(webapp): improve mobile + button positioning with safe area support#5665

Open
nimrodkra wants to merge 1 commit intomainfrom
eng-979-improve-the-position-of-the-button-on-mobile
Open

fix(webapp): improve mobile + button positioning with safe area support#5665
nimrodkra wants to merge 1 commit intomainfrom
eng-979-improve-the-position-of-the-button-on-mobile

Conversation

@nimrodkra
Copy link
Member

@nimrodkra nimrodkra commented Mar 5, 2026

Summary

  • Changed FooterPlusButton from absolute to fixed positioning so it stays visible while scrolling on mobile web
  • Replaced hardcoded bottom-24 with bottom-safe-offset-16 (from tailwindcss-safe-area plugin) to respect the iOS safe area inset above the home indicator bar
  • Bumped z-1 to z-3 to match the parent FooterWrapper stacking context
  • Increased the bottom spacer in FooterNavBarLayout from h-16 to h-28 to prevent content from hiding behind the now-floating button

Test plan

  • On iOS (or simulator): verify the + button has proper spacing above the home indicator bar
  • On mobile web: verify the + button remains fixed in position when scrolling down
  • On tablet+ breakpoints: verify no visual regression (button is not shown)
  • Verify the Drawer overlay still opens correctly when tapping the + button

Closes ENG-979


Created by Huginn 🐦‍⬛

Preview domain

https://eng-979-improve-the-position-of.preview.app.daily.dev

Use fixed positioning and tailwindcss-safe-area offset for the
FooterPlusButton to keep it visible while scrolling and properly
spaced above the iOS home indicator bar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Mar 5, 2026 6:28pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Mar 5, 2026 6:28pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant