How can I prevent wild scrolling when a fixed position text input form field gains focus?

前端 未结 2 816
故里飘歌
故里飘歌 2020-12-24 08:42

I have a mobile web app that displays a dialog box within a position: fixed element overlaying the entire screen. No matter how much content is displayed or how far the pag

2条回答
  •  [愿得一人]
    2020-12-24 09:14

    In my case, the "position:fixed;" is not the problem, "vertical-align:center;" or "-webkit-box-align:center;" push back and close the soft keyboard, to use "-webkit-box-align:start;" solved my problem.

提交回复
热议问题