fullscreen icon indicating copy to clipboard operation
fullscreen copied to clipboard

The values of meta viewport attribute are not reflected when in full screen mode in android chrome browser.

Open agnelvishal opened this issue 7 years ago • 4 comments

When I am in full screen mode in android using fullscreen api, the values of meta viewport attribute like initial-scale and user-scalable are not reflected in the browser. If I am not in full screen mode, the values of meta viewport are reflected. I don’t find any source saying meta viewport will be disabled in fullscreen in android. So am I making any mistake or no one has documented it? Also want to know if there are alternatives. Like can I zoom programmatically or can I go fullscreen in css.

agnelvishal avatar Dec 23 '17 18:12 agnelvishal

I don't think this has been considered one way or another.

cc @hober

annevk avatar Jan 03 '18 13:01 annevk

Also, I believe https://drafts.csswg.org/css-device-adapt/#viewport-meta is all we have with regards to documentation of this <meta name> value... Not exactly great.

annevk avatar Jan 03 '18 13:01 annevk

This question has also been asked at https://stackoverflow.com/questions/39236875/fullscreen-api-on-androind-chrome-moble-disregards-meta-viewport-scale-setting?rq=1 and https://stackoverflow.com/questions/34302306/html5-fullscreen-mode-in-mobile-browser-chrome-ignores-the-viewport-configurat?rq=1

agnelvishal avatar Jan 03 '18 18:01 agnelvishal

I was able to go fullscreen by an alternative way using web app manifest https://developers.google.com/web/fundamentals/native-hardware/fullscreen/#launching_a_page_fullscreen_from_home_screen

agnelvishal avatar Mar 18 '18 15:03 agnelvishal