Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

413
Vistas
How is it possible that window.innerWidth does NOT return a correct value?

Let me describe the very strange issue I encountered.

Browsing with Chrome 97, the javascript command window.innerWidth always sends me back the same value 1920 but on a given website on which it returns 640.

I've first noticed the issue because website layout was obviously designed for mobile clients.

I've been clearing cache, cookies and storages, closed and reopened browser, but issue remains, specific to that website and on no other.

In private session, problem is also present.

But when I test with other browsers (like Chromium or Firefox) : I don't have the problem.

I don't understand how this can be !

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda