Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by CleverLikeAnOx

7 days ago

I think iOS safari already breaks bottom bars by having phone controls show up when a user taps near the bottom.

1 comment

CleverLikeAnOx

Reply

whytaka  7 days ago

This is mitigated by wrapping the main scrollable content in a container that has height: 100dvh and overflow: auto. It means that phone controls are always showing but it made a bottom anchored menu reliably static.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities