You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure either actually - from what I've experienced viewport units work, albeit in an Apple-prescribed way. vh units will always take the maximum height of the viewport (ie. with the address bar hidden), rather than the current available height.
I've not contributed to open source before - I'll have a look into creating a PR shortly :)
viewport-units-buggyfill.js
Line 45 was: var iOSversion = userAgent.match(/OS (\d)/);
Guessing it should be: var iOSversion = userAgent.match(/OS (\d+)/);
As an aside, should like 48 read like this?
return iOSversion && iOSversion.length>1 && parseInt(iOSversion[1], 10) < 8;
The text was updated successfully, but these errors were encountered: