mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 13:03:08 +08:00
Summary: When pasting text longer than maxlenght, the textDidChange: call we did would end calling back into textView:shouldChange: because we saw an unexpected multi-character change. Since this is an expected mutation, update predictedText appropriately. Reviewed By: majak Differential Revision: D3561524 fbshipit-source-id: 07bb78d830ccfa3aed6ee274dc30adeadce9e1f8