[READ-ONLY] Mirror of https://github.com/lukebennett88/luke-ui. ui.lukebennett.dev

Measure the fixed containing block for the tray keyboard inset (#92) master

On iOS Safari window.innerHeight tracks the visual viewport, so it shrinks with the on-screen keyboard and the keyboard inset collapsed to ~0, leaving the tray cut off behind the keyboard. Measure the fixed-position containing block directly with an inset: 0 probe element instead, which is correct regardless of how a browser reports toolbar and keyboard geometry. Refs #91


+92 -1
3 changed files