You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a TextInput focused and useonPress={() => KeyboadController.dismiss()} the caret is still visible on the TextInput.
However when using Keyboard.dismiss() the caret is "dismissed".
This happens only on Android, iOS has the same behaviour for both.
To Reproduce
Steps to reproduce the behavior:
use a simple TextInput, a button with onPress={() => KeyboadController.dismiss()} and one with onPress={() => Keyboad.dismiss()}.
Tap on the TextInput, tap on the buttons to replicate.
Expected behavior onPress={() => KeyboadController.dismiss()} should disable the caret
The text was updated successfully, but these errors were encountered:
I don't see it very applicable to my use case, but having the possibility to choose it's always a plus. For example, in particular use cases where the app is intended to be used mainly with mouse and keyboard.
When I have a
TextInput
focused and useonPress={() => KeyboadController.dismiss()}
the caret is still visible on theTextInput
.However when using
Keyboard.dismiss()
the caret is "dismissed".This happens only on Android, iOS has the same behaviour for both.
To Reproduce
Steps to reproduce the behavior:
use a simple
TextInput
, a button withonPress={() => KeyboadController.dismiss()}
and one withonPress={() => Keyboad.dismiss()}
.Tap on the
TextInput
, tap on the buttons to replicate.Expected behavior
onPress={() => KeyboadController.dismiss()}
should disable the caretThe text was updated successfully, but these errors were encountered: