Skip to content

Commit 1066c2c

Browse files
committed
docs: rewritten disclaimer
1 parent c7756b3 commit 1066c2c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/docs/misc/known-limitations.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ not supported yet, the best way to let us know is to open a
3333
[GitHub issue](https://github.com/software-mansion/react-native-enriched-html/issues)
3434
in our repo.
3535

36-
## Tapping outside the editor doesn't blur it
36+
## No global blur support on mobile
3737

38-
On mobile, tapping outside of an `EnrichedTextInput` does not blur it. This is
39-
a limitation of React Native itself, not something specific to this library.
38+
On mobile, you can use `Keyboard.dismiss()` and `keyboardShouldPersistTaps` to blur
39+
the React Native's `TextInput` on taps outside of it. This doesn't work
40+
with `EnrichedTextInput`. This is a limitation of React Native itself, not
41+
something specific to this library: React Native doesn't expose
42+
`TextInputState` publicly, so we can't register our input in the React Native state.

0 commit comments

Comments
 (0)