• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Wrong value out of window.innerWidth

orenise

Lurker
Hi,

I am using the Android default web browser, and I am developing in JavaScript - I have trouble getting the real visual width and height when I zoom in or out on a web page.

It seems that I am getting the wrong value out of window.innerWidth, when I am zooming in/out.

What I am trying to do is - showing an element on a visual fixed place, even when I am zooming and scrolling the page.

Does anyone have a solution or an idea how I can achieve this?
 
Back
Top Bottom