Open njt1982 opened 7 years ago
I have worked around this by setting a state to toggle the autoCorrect
prop on the TextInput child component.
When a suggestion callback is triggered, it disables the autocorrect state. In my renderSuggestionsRow
, when an item is pressed, before executing the stopTracking callback, I reset the state to TRUE.
This mostly works, however if the suggestions are cancelled/stopped outside of pressing a button, then autoCorrect is never re-enabled.
So I type
@m
and get this...If I select the user
martin
, this happens: