Kevin Powell - CommunityKP-C
Kevin Powell - Communityβ€’5mo agoβ€’
20 replies
robskrob

How to adjust Height When Virtual Keyboard Appears?

Does anyone know if Kevin has a video explaining how to adjust a website's height based on the appearance or disappearance of a mobile device's virtual keyboard?

I found Kevin's video on vh vs svh vs dvh https://www.youtube.com/watch?v=ru3U8MHbFFI very helpful. Around 4:10 he talks about how these values do not accommodate for the mobile devices virtual keyboard because the virtual keyboard is not considered browser UI.
YouTubeKevin Powell
Looking to step up your CSS game? πŸ‘‰ https://kevinpowell.co/courses?utm_campaign=general&utm_source=youtube&utm_medium=viewportunits I have a bunch of courses, including several free ones.

I see people use vh a lot, and then complain that it doesn’t work the way they thought it would, so in this one, I explore a few other options that we ...
Use these instead of vh
Was this page helpful?