键盘出现,但在使用 Galaxy S9 的反应本机应用程序中迅速消失



使用Galaxy S9/S8,当android botton导航栏被隐藏时,当单击TextInput时,键盘迅速消失,我无法打字,如果我固定botton导航栏,问题不再发生。

这是一个视频示例:http://gustavoandrade.net/tella/video.mp4

这是点击文本输入显示键盘时的Android Studio输出:

01-10 15:36:35.121 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: ViewPostIme pointer 0
01-10 15:36:35.152 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: ViewPostIme pointer 1
01-10 15:36:35.193 19422-19422/com.gentilapp D/InputMethodManager: SSI - flag : 0 Pid : 19422 view : com.gentilapp
01-10 15:36:35.195 19422-19422/com.gentilapp V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@e85ff7e nm : com.gentilapp ic=com.facebook.react.views.textinput.ReactEditTextInputConnectionWrapper@c5a5cdf
01-10 15:36:35.195 19422-19422/com.gentilapp I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
01-10 15:36:35.246 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1440, 2960) ci=Rect(0, 84 - 0, 168) vi=Rect(0, 84 - 0, 168) or=1
01-10 15:36:35.267 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: Relayout returned: old=[0,0][1440,2960] new=[0,0][1440,2960] result=0x1 surface={valid=true 3505223680} changed=false
01-10 15:36:35.285 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1440, 2960) ci=Rect(0, 84 - 0, 1253) vi=Rect(0, 84 - 0, 1253) or=1
01-10 15:36:35.301 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: Relayout returned: old=[0,0][1440,2960] new=[0,0][1440,2960] result=0x1 surface={valid=true 3505223680} changed=false
01-10 15:36:35.342 19422-19501/com.gentilapp I/ReactNativeJS: 'Token para Fila', null
01-10 15:36:35.354 19422-19422/com.gentilapp D/InputMethodManager: HSIFW - flag : 0 Pid : 19422
01-10 15:36:35.390 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1440, 2960) ci=Rect(0, 84 - 0, 0) vi=Rect(0, 84 - 0, 0) or=1
01-10 15:36:35.412 19422-19422/com.gentilapp D/ViewRootImpl@6784d38[MainActivity]: Relayout returned: old=[0,0][1440,2960] new=[0,0][1440,2960] result=0x1 surface={valid=true 3505223680} changed=false

更新

修复了,问题是本机基础的抽屉组件。

android:windowSoftInputMode="stateAlwaysHidden|adjustPan"//under AndroidManifist.xml

相关内容

  • 没有找到相关文章

最新更新