我正在使用 phonegap 和 jquery
Mobile 制作一个移动应用。
以下是我的footer
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<h1>Some Footer Text</h1>
</div>
我已经提到 position
作为 fixed
当我点击任何文本框输入数据时 footer
仍然消失。我需要向下滚动才能找到按钮。
即使我在文本框或其他任何地方编辑,我也不能有 footer
吗?
请帮助我,我是 jquery mobile 和 phonegap 的新手。
最佳答案
在页脚标签中使用 data-hide-during-focus=""this
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<h1>Some Footer Text</h1>
</div>
关于css - 如何在编辑页面内容时修复 jquery Mobile 固定页脚?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30976678/