Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • projects
    • website design
    • code notes
Blog Web Dev Fixed Position Div Isn’t Staying Fixed When Scrolling on Android

Fixed Position Div Isn’t Staying Fixed When Scrolling on Android

By Forrest Smith - Drempd.com

My nice fixed position toolbar wasn’t sticking as it should as I scrolled through on my mobile browser window. It would appear sticky at times, but as I scrolled, it would slide up or down. The solution is to add “minimum-scale=1” to the meta viewport tag, which for me, now looks like this:

<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> 

Posted on February 2, 2019August 15, 2020 in Web Dev

drempd | san diego, ca


home contact

adventures san diego projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance