Languages

Menu
Sites
Language
How to detect height of virtual keyboard?

How to detect height of virtual keyboard? I would like to change my UI when the keyboard is visible. I tried to check windows.innerHeight but keyboard doesnt change this value. Do you know any way to do it?

Responses

2 Replies
Iqbal Hossain

hi~ 
I saw a sample app "Data Control Consumer" in Tizen Studio have this design. 

After keyboard active,

hope you will find solution by seeing this code. 

Nibisz

Thank you very much. It was very helpful. To move your UI with virtual keyboard you need to set position: fixed and bottom: 0.