Re: [w3ctag/design-reviews] VirtualKeyboard API - show/hide policy (#498)

> Ah, okay. Reading https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/VirtualKeyboardAPI/explainer.md clarified this. iOS's software keyboard always behaves as if `navigator.virtualKeyboard.overlaysContent = true` unless on a website with 100% fixed height when a hardware keyboard is attached (this is a bit of compatibility quirk). We don't change the size of viewport at all. Instead, we change of the visual viewport which is exposed to Web as of iOS 13 / iPad OS 13.

@rniwa Sorry for the slow reply, but the comment above I don't think is true.  On my iPhone, when the virtual keyboard is shown, the height of the visual viewport is reduced while the layout viewport remains at the same height.  It sounds like you agree that's what happens from your last sentence.  

In contrast, if `navigator.virtualKeyboard.overlaysContent = true`, then the visual viewport should not change when the virtual keyboard is shown or hidden.

> Should we find a slot to discuss this during virtual TPAC?

@cynthia I think that's a good idea.  Could someone suggest a forum?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/498#issuecomment-697005863

Received on Tuesday, 22 September 2020 22:02:39 UTC