如何解决Ionic 3 键盘推送背景图片
我正在开发一个 Ionic 3 安卓应用程序。
我遇到了键盘隐藏文本输入的问题,我通过在 config.xml
<preference name="resizeOnFullScreen" value="true" />
但是这个修复在我的登录页面中产生了另一个问题,键盘推动背景图像并改变其位置
这是代码
.imagebackground {
background: url("../assets/img/bckgLogin.png") no-repeat center center fixed !important;
background-size: cover !important;
-webkit-background-size:cover !important;
background-attachment: fixed !important;
background-position-x: -340px !important;
}
有什么办法可以解决这个问题吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。