labrat.mobi Posted January 26, 2015 Share Posted January 26, 2015 Hi, In Firefox for Android, I noticed I am getting window.innerHeight as (window.innerHeight + height of title bar)This happens only when I enable "Full-screen browsing" in Settings > Display. (Nb! enabled by default) This is kinda annoying for games which has "touchmove" mechanics. This makes the screen scroll. Anyone facing this? any solutions? Note: this happens only in landscape mode, portrait looks fine . Quote Link to comment Share on other sites More sharing options...
labrat.mobi Posted January 27, 2015 Author Share Posted January 27, 2015 never mind guys , I found the solution. I was using style.marginTop to align my canvas, which caused this issue. Replaced it with style.transform Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.