使用Galaxy S9在反应本机应用程序中出现键盘但很快消失

时间:2019-01-10 18:49:58

标签: android reactjs react-native keyboard galaxy

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

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

这是单击TextInput显示键盘时的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

更新

已修复,问题出在基于本机的抽屉组件上。

0 个答案:

没有答案