rodneyrehm / viewport-units-buggyfill

Making viewport units (vh|vw|vmin|vmax) work properly in Mobile Safari.
MIT License
1.59k stars 151 forks source link

iOS v10+ incorrect calculations #108

Open muiqo opened 5 years ago

muiqo commented 5 years ago

Minimal Testcase: http://drop.muiqo.de/viewport-units-buggyfill/

The vh-unit is not correctly calculated in iOS 10+ with the 0.6.2 version embedded (pulled from this repository, not from npm, so https://github.com/rodneyrehm/viewport-units-buggyfill/pull/85 is included).

iOS v9 (correct calculation of 20vh): ios-v9

iOS v10 (incorrect calculation of 20vh): ios-v10