Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

414
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!