12월의 봄

안드로이드 키보드 올라올 때 동작 변경

웹퍼블리싱

Prepare for viewport resize behavior changes coming to Chrome on Android https://developer.chrome.com/blog/viewport-resize-behavior/

Prepare for viewport resize behavior changes coming to Chrome on Android - Chrome for Developers

What changes are coming to the viewport resize behavior in Chrome 108, why Chrome is making this change, and what you can do to prepare.

developer.chrome.com


11월 크롬 108이 출시되면서 크롬은 화면 내 키보드(OSK)가 보여지면 레이아웃 뷰포트가 어떻게 행동하는지에 약간의 변화를 줄 것이다. 이러한 변화로 안드로이드의 크롬은 더 이상 레이아웃 뷰포트를 크기화하지 않고 대신 비주얼 뷰포트만 크기화할 것이다. 이것은 안드로이드의 행동에 대한 크롬을 iOS의 크롬과 iOS의 사파리와 대등하게 만들 것이다.


<meta name="viewport" content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content">