Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
画面の下部に設定された固定位置の div がある場合、仮想キーボードが表示されている間、この div は下部に留まりません。ページの高さが増加すると、上に移動します。この問題は iOS 5 では発生しません。これは、div が引き続き下部にある必要があるためです。何か助けはありますか?
キーボードがアクティブな間、固定 div を非表示にすることはできますか?
$("#text_field").focus(function(){ $("#fixed_div").hide(); }); $("#text_field").blur(function(){ $("#fixed_div").show(); });