Bottom positioning, keyboard pop-up, position change problem


now the prompt will be squeezed up when the keyboard pops up on the Android. What is the reason for this? Find the solution

Mar.20,2021

$('body'). Height ($(' body') [0] .clientHeight);


var HEIGHT = $('body').height();
$(window).resize(function () {
    $('div').height(HEIGHT);
});

clipboard.png

boldly guess that fixed positioning is used here, if not, please ignore the one below.

< hr >

if it is fixed positioning, you can do this:
when the input box gets focus, set the bottom element to position:absolute
restore your original position:fixed when you lose focus


just put the text message at the bottom of absolute. Fixed doesn't support ios Android very well
or use flex

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaec22-2201.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaec22-2201.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?