+ 1

How to prevent input box size from changing while on focus?

When any input box is in focus while keyboard is on the screen, sizes of input boxes reduced to half. How can I prevent this? Please help. The code is posted below. https://code.sololearn.com/WDio06smZeSu/?ref=app

14th Apr 2018, 12:05 PM
Somnath
Somnath - avatar
2 Answers
+ 1
try px instead of vh
14th Apr 2018, 12:37 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
Thank you Aaron Erhardt. It works!
14th Apr 2018, 2:12 PM
Somnath
Somnath - avatar