is there a way of detecting whether a window resize event was caused by Android's popup keyboard?

后端 未结 1 1533
误落风尘
误落风尘 2021-01-06 11:44

I\'m writing a webpage, which will fully support mobile browsers.

The page currently uses KnockoutJS to dynamically recalculate component sizes (and hide some compon

相关标签:
1条回答
  • 2021-01-06 12:16

    Solved this by adding a listener to the input's focus event which disables reacting to resize events for 0.5s.

    0 讨论(0)
提交回复
热议问题