Comments (20)
请提供你使用的soft-input-event版本号
另外请fork仓库来复现此问题(demo中包含一个登录界面), 否则无法修复只能自行尝试修复
from soft-input-event.
最新版本 1.0.7
2个输入框切换 不会重新计算
from soft-input-event.
你的意思是输入框切换导致的是吧
关于输入框切换监听这个功能还未实现
from soft-input-event.
麻烦你fork仓库复现问题告诉我一声, 我直接运行你的demo来修复问题
比较繁忙排查问题时间优先, 敬请体谅
from soft-input-event.
@liangjingkanji 谢谢 setPadding 改成false 就好了 我再试试 您先忙
from soft-input-event.
@liangjingkanji 找到问题了 是因为 小米的安全键盘的问题 安全键盘与 输入键盘高度不一致 切换第二的输入框的时候 inputType 设置为 密码模式 就会 收起 输入键盘 弹出安全键盘
from soft-input-event.
我手上没有适合的设备, 你能否修复此问题
from soft-input-event.
@liangjingkanji 不好意思 这个问题我无法修复 我现在的做法是 手动关闭系统的安全键盘
from soft-input-event.
是安全键盘会导致不会自动滚动到键盘之上位置吗
from soft-input-event.
对普通键盘 和 安全键盘切换的 时候 因为 这个两个键盘 高度不一样 所以会遮挡View
from soft-input-event.
请描述更清楚一点
from soft-input-event.
其实就是 2 个 EditText 因为 inputType不同 所以会出现两种不通的 键盘 而这个两这个键盘高度 不一致 所以高的键盘会遮挡View
from soft-input-event.
miui 弹出安全键盘的时候 不允许截屏 和录像 没办法给你截图了
from soft-input-event.
你可以描述下具体行为, 比如普通键盘弹出是否开始滚动, 然后谁挡住了谁
from soft-input-event.
8ad.mp4
普通键盘高度可以调节的 安全键盘不能调节 两个键盘切换的时候 没有重新测量键盘高度
from soft-input-event.
我认为这两个问题比较严重
你能否直接使用私有方法setWindowSoftInputCompatible
来测试是否会出现同样的问题
from soft-input-event.
@liangjingkanji 测试了 可以解决问题 但是不会有平滑的 动画效果 而是重新布局 页面会出现跳动 体验很糟糕
from soft-input-event.
俩个键盘切换的时候 普通键盘会先收起来 页面也就复原了 紧接着安全键盘会弹出 页面会瞬间被键盘顶起
from soft-input-event.
setWindowSoftInputCompatible
能解决所有问题, 但是没有动画是吧
from soft-input-event.
对的 是这样的
from soft-input-event.
Related Issues (9)
- 华为机型无效 HOT 6
- CoordinatorLayout 布局里面设置了layout_behavior 华为畅享系列手机不兼容
- BottomSheetDialogFragment和Fragment调用setWindowSoftInput,isSupportInsetsFiled不一样 HOT 6
- 键盘弹出的时候切换到后台,再切换回来键盘消失了,被顶起的View没下去 HOT 4
- 软键盘上加一条工具栏,但是布局不滚动 HOT 3
- google material的依赖? HOT 1
- setWindowSoftInput Problem HOT 1
- 如果输入框在上方,用这个方法会强行把输入框拉下来,上面一片空白 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soft-input-event.