mirror of
https://github.com/status-im/react-native.git
synced 2025-01-20 06:18:57 +00:00
fe86771a22
Summary: This is useful for applying input masks in the onChange handler that you then need to propagate down to the native component. In our case, we add commas as the user enters a price. Without this change, the cursor will end up in the wrong place when the text is transformed in our onChange handler. Closes https://github.com/facebook/react-native/pull/4716 Reviewed By: svcscm Differential Revision: D2766236 Pulled By: nicklockwood fb-gh-sync-id: c4057d77d62507ec9e09eb0242888bf2858d822f