Improve handling of on-screen keyboards

Direct the browser to resize the whole page when the on-screen keyboard on mobile devices is visible.

https://developer.chrome.com/blog/viewport-resize-behavior/
This commit is contained in:
Kianga 2023-01-17 09:38:39 +01:00
parent d8bdacb29f
commit 9d8e0d4e78
Signed by: kianga
SSH Key Fingerprint: SHA256:FsfHSVtt4BSm5AV+MG3KYJplFo8Q8+TWvSeud7Um4Oo
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content">
<meta name="description" content="A simple tool for counting words and characters">
<title>Scratchpad</title>
<link rel="stylesheet" href="style.css">