New issue
Advanced search Search tips

Issue 700395 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 688738
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: 2017-08-29
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

100vh different from window.innerHeight

Reported by matthieu...@gmail.com, Mar 10 2017

Issue description

Chrome for android Version : 56.0.2924.8

What steps will reproduce the problem?
(1) Create a page with body {height:100vh}
(2) It happens ONLY if you use a PWA  (everything is fine if you use the browser directly). Set display: fullscreen in your manifest
(3) Compare body height with window.innerHeight in console

What is the expected result?
round(100vh) == window.innerHeight

What happens instead?
100vh > round(window.innerHeight) result in extra scroll when you have a page container with min-height: 100vh


Please provide any additional information below. Attach a screenshot if
possible.

 
chrome_bug_vh.jpg
59.4 KB View Download

Comment 1 by bokan@chromium.org, Mar 10 2017

Cc: -bokan@chromium.org
Components: -Blink Blink>Scroll
Labels: Hotlist-Input-Dev OS-Android
Owner: bokan@chromium.org
Status: Assigned (was: Unconfirmed)
When you say "use a PWA" you mean using the "add to homescreen" menu item? Could you see if this still reproduces in beta channel? I fixed  bug 688738  which I believe is the same issue but it was too late to merge to 56. Should be fixed in 57 (which should ship in the next week or two).
Yes indeed, it seems to be the same issue. I will try the beta version.
Thanks!

Comment 3 by bokan@chromium.org, Aug 15 2017

NextAction: 2017-08-29
Ping, matthieu.dambrune@ - it's been a while, does this still reproduce?

Comment 4 Deleted

Comment 5 Deleted

Comment 6 by bokan@chromium.org, Aug 18 2017

Mergedinto: 688738
Status: Duplicate (was: Assigned)
> I don't know why when I try to add a comment it's auto deleted...

> Anyway, as you said Chrome 57 fixed the issue :
> https://bugs.chromium.org/p/chromium/issues/detail?id=700395
> You can close it !

Weird. Anyway, thanks!

The NextAction date has arrived: 2017-08-29

Sign in to add a comment