Button coming up! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Button coming up!

See the output......click “Setting”, now click any input field....the “apply“ button is coming up...why!? And is there any solution for this? https://code.sololearn.com/W3ydsplgP5ss/?ref=app

16th Oct 2021, 12:15 PM
Parth
Parth - avatar
5 Answers
+ 3
PassionateCoder ya......so is there any solution?
16th Oct 2021, 12:27 PM
Parth
Parth - avatar
+ 3
PassionateCoder no no...I am saying that after you click any input field....the button is coming up.....I want that the button remains at bottom even after you click input field
16th Oct 2021, 12:32 PM
Parth
Parth - avatar
+ 2
PassionateCoder I want the button to remain at the bottom
16th Oct 2021, 12:30 PM
Parth
Parth - avatar
18th Oct 2021, 1:36 PM
Bob_Li
Bob_Li - avatar
0
This seems to be an annoying bug in phones. The softkey pushes the layout up by decreasing the height of the page. Several discussion in various forums can be found after some Google search. The css may not be clean since I followed multiple answers, but it finally seemed to work. Not sure of the behavior for iPhone, since I'm using an Android phone. There seems to be a difference in the softkey influence on webpages for iPhones and Android devices. Basically, you set the html, and body height and also set min-height to 100% html, body{ position: relative: height:100%; min-height:100%; } button{ position: absolute; ??? not sure... bottom: 4%; or whatever... }
18th Oct 2021, 1:51 PM
Bob_Li
Bob_Li - avatar