lighthouse: Lighthouse treats "shrink-to-fit" property in meta-tag "viewport" as invalid

In lighthouse audits, this will pass: <meta name="viewport" content="width=device-width, initial-scale=1"> this will fail: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> with message Invalid properties found: {"shrink-to-fit":"no"}.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 15 (7 by maintainers)

Commits related to this issue

Most upvoted comments

I think this is due to the release of the extension lagging behind (it’s still on 2.3.0). We’re hoping to do a release of 2.5.0 on all platforms early next week.

Hey I’m still getting this as a problem on the chrome extension: image The viewport audit has a ✅ but is considered failed w/ the invalid shrink-to-fit property. I ran it on the default build of create-react-app

Thanks for the report @zhirzh! Looks like our dependency for metaviewport parsing hasn’t been updated in quite some time.