离子3 -Keyboard推动整个屏幕 [英] ionic 3 -Keyboard pushes the whole screen up

查看:79
本文介绍了离子3 -Keyboard推动整个屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我构建了离子3 app。
我有输入字段,当我按下它们开始输入任何屏幕改变时..

I build ionic 3 app. I have inputs field and when I press on them to begin to type anything the screen changed..

之前

当我按下任何输入字段时屏幕发生变化(它也在真实设备中测试)

when I press on any input field the screen changed(it's test also in real device)

推荐答案

看一下原生键盘以防止推动键盘。

Take a look at the native keyboard to prevent the keyboard from pushing things up.

keyboard.disableScroll(bool);

离子原生键盘文档

这篇关于离子3 -Keyboard推动整个屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆