Please sign in to comment.
TextInput: Hacks related to missed `textInputDidChange` were moved to…
… adapter Summary: iOS has tendency to skip `textInputDidChange` event (irregulary, across all dispatch ways: target-action, delegate, notification center) when text input looses focus. Usually it happens when autocorrection applies some changes automatically on loosing focus, but I think these are bunch of different cases. So, the workaround is pretty simple: if there was no `textInputDidChange` event between `shouldChangeText` and `didEndEditing`, we create it manually. Previously these workaround complicate our business logic, now they was decoupled in separate adapter. Reviewed By: mmmulani Differential Revision: D5317651 fbshipit-source-id: 138143213e8752fe9682229c51685aef614c00dd
- Loading branch information...
Showing with 28 additions and 18 deletions.